Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRogelio Mita <rogeliomita@activitycentral.com>2013-04-27 17:32:18 (GMT)
committer Rogelio Mita <rogeliomita@activitycentral.com>2013-04-27 17:32:18 (GMT)
commitbc24962420b33ca67acf039d74891d4af2947018 (patch)
treed483c961e39381a7701de039b7c92a5b4bff5888
parentd26e9d02f156f6ec0a60a2b48c0b464365d6a9ca (diff)
Adding text for image options typev4.0
-rw-r--r--webapp/polls/templates/mustache/option_image_thumbnail.html7
-rw-r--r--webapp/polls/templates/mustache/option_image_upload.html7
2 files changed, 14 insertions, 0 deletions
diff --git a/webapp/polls/templates/mustache/option_image_thumbnail.html b/webapp/polls/templates/mustache/option_image_thumbnail.html
index ccbafe9..efb44b6 100644
--- a/webapp/polls/templates/mustache/option_image_thumbnail.html
+++ b/webapp/polls/templates/mustache/option_image_thumbnail.html
@@ -13,6 +13,13 @@
<input type="hidden" name="groups.[[ group_order ]].fields.[[ field_order ]].options.[[ id ]].type" value="img_input">
<input type="hidden" name="groups.[[ group_order ]].fields.[[ field_order ]].options.[[ id ]].img_name" value="[[ img_name ]]" />
<div class="img_container"></div>
+ <input
+ class="input-medium"
+ type="text"
+ name="groups.[[ group_order ]].fields.[[ field_order ]].options.[[ id ]].text"
+ value="[[ text ]]"
+ placeholder="(texto opcional)" />
+ <br />
<b>Peso</b>:
<input
class="input-small"
diff --git a/webapp/polls/templates/mustache/option_image_upload.html b/webapp/polls/templates/mustache/option_image_upload.html
index 75462e6..dd4dfbe 100644
--- a/webapp/polls/templates/mustache/option_image_upload.html
+++ b/webapp/polls/templates/mustache/option_image_upload.html
@@ -12,6 +12,13 @@
</div>
<div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 150px; max-height: 150px; line-height: 20px;"></div>
<div>
+ <input
+ class="input-medium"
+ type="text"
+ name="groups.[[ group_order ]].fields.[[ field_order ]].options.[[ id ]].text"
+ value="[[ text ]]"
+ placeholder="(texto opcional)" />
+ <br />
<b>Peso</b>:
<input
class="input-small"