diff options
Diffstat (limited to 'webapp/polls/templates/mustache/field.html')
-rw-r--r-- | webapp/polls/templates/mustache/field.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/webapp/polls/templates/mustache/field.html b/webapp/polls/templates/mustache/field.html index 2a4b130..a967893 100644 --- a/webapp/polls/templates/mustache/field.html +++ b/webapp/polls/templates/mustache/field.html @@ -49,6 +49,18 @@ value="[[ name ]]" placeholder="Pregunta..." /> + <div class="fileupload fileupload-new" data-provides="fileupload"> + <div class="fileupload-new thumbnail" style="width: 50px; height: 50px;"> + <img src="[[ img_src ]]" /></div> + <div class="fileupload-preview fileupload-exists thumbnail" style="width: 50px; height: 50px;"></div> + <span class="btn btn-file"> + <span class="fileupload-new">Elegir imagen</span> + <span class="fileupload-exists">Change</span> + <input type="file" name="groups.[[ group_order ]].fields.[[ order ]].img"/> + </span> + <a href="#" class="btn fileupload-exists" data-dismiss="fileupload">Remove</a> + </div> + </div> <div class="row-fluid"> |