Minor usability improvement to grid search widget

changed the button "New" to "Add" and added a title attribute (view on hover) explaining what this button does
This commit is contained in:
Tim Richardson
2014-01-31 16:45:57 +11:00
parent 1c2bdd1654
commit 794b6bcb7b
+1 -1
View File
@@ -1747,7 +1747,7 @@ class SQLFORM(FORM):
_type='text', _id=_id, _class=field.type)
new_button = INPUT(
_type="button", _value=T('New'), _class="btn",
_type="button", _value=T('Add'), _class="btn", _title = T('Add clause to search terms'),
_onclick="%s_build_query('new','%s')" % (prefix,field))
and_button = INPUT(
_type="button", _value=T('And'), _class="btn",