summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-24 21:27:43 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-24 21:27:43 +0100
commit7b4c75f0dd755e28fcffc0e4fdd05452458a3b09 (patch)
tree43ef5fe76ff5ff235cc52b79f16b9a8b6047bca8 /module/web/templates/default
parentMerge remote-tracking branch 'origin/stable' (diff)
downloadpyload-7b4c75f0dd755e28fcffc0e4fdd05452458a3b09.tar.xz
added view type for input fields
Diffstat (limited to 'module/web/templates/default')
-rwxr-xr-xmodule/web/templates/default/backbone/queryDialog.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/module/web/templates/default/backbone/queryDialog.html b/module/web/templates/default/backbone/queryDialog.html
index a37ac6256..eb05c20e2 100755
--- a/module/web/templates/default/backbone/queryDialog.html
+++ b/module/web/templates/default/backbone/queryDialog.html
@@ -10,12 +10,16 @@
<legend><% description %></legend>
<div class="control-group">
<%= if captcha %>
- <label class="control-label" for="inputText"><img src="data:image/<% type %>;base64,<% captcha %>"></label>
- <div class="controls">
- <input type="text" id="inputText" name="captcha">
- </div>
+ <label class="control-label" for="inputField">
+ <img src="data:image/<% type %>;base64,<% captcha %>">
+ </label>
+ <% else %>
+ <label class="control-label" for="inputField">
+ <% content %>
+ </label>
<%/if%>
- <% content %>
+ <div class="controls" id="inputField">
+ </div>
</div>
</form>
{% endblock %}