diff options
-rwxr-xr-x | module/web/templates/default/backbone/queryDialog.html | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/module/web/templates/default/backbone/queryDialog.html b/module/web/templates/default/backbone/queryDialog.html index eb05c20e2..fd6eb55ee 100755 --- a/module/web/templates/default/backbone/queryDialog.html +++ b/module/web/templates/default/backbone/queryDialog.html @@ -8,19 +8,23 @@ {% block content %} <form class="form-horizontal" action="#"> <legend><% description %></legend> + <%= if captcha %> <div class="control-group"> - <%= if captcha %> - <label class="control-label" for="inputField"> - <img src="data:image/<% type %>;base64,<% captcha %>"> + <label class="control-label" for="captchaImage"> + Captcha Image </label> - <% else %> - <label class="control-label" for="inputField"> - <% content %> - </label> - <%/if%> + <div class="controls"> + <img id="captchaImage" src="data:image/<% type %>;base64,<% captcha %>"> + </div> + </div> + <div class="control-group"> + <label class="control-label" for="inputField">Captcha Text</label> <div class="controls" id="inputField"> </div> </div> + <% else %> + <% content %> + <%/if%> </form> {% endblock %} {% block buttons %} |