• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

修訂bbf6164215547114afca7e63ecae3eec0b82a608 (tree)
時間2012-06-13 18:40:17
作者Igor Bondarenko <jetmind2@gmai...>
CommiterIgor Bondarenko

Log Message

[#4179] ticket:81 Move search submit button inside <form> tag.

Change Summary

差異

--- a/ForgeTracker/forgetracker/templates/tracker/search.html
+++ b/ForgeTracker/forgetracker/templates/tracker/search.html
@@ -38,11 +38,12 @@
3838 {% endif %}
3939 <form method="GET">
4040 <input type="text" name="q" value="{{q}}" style="width: 280px; float: left; margin-right: .5em" id="bin_terms">
41+ {% if bin and h.has_access(c.app, 'save_searches')() %}
42+ <input type="button" value="Update Search" id="save_search"/>
43+ {% endif %}
44+ <input type="submit" value="Search"/>
4145 </form>
42-{% if bin and h.has_access(c.app, 'save_searches')() %}
43- <input type="button" value="Update Search" id="save_search"/>
44-{% endif %}
45- <input type="submit" value="Search"/> <a href="#" class="btn search_help_modal"><b data-icon="{{g.icons['help'].char}}" class="ico {{g.icons['help'].css}}"></b> Help</a>
46+<a href="#" class="btn search_help_modal"><b data-icon="{{g.icons['help'].char}}" class="ico {{g.icons['help'].css}}"></b> Help</a>
4647 </div>
4748 <div style="clear:both"></div>
4849 {{c.ticket_search_results.display(solr_error=solr_error,