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:
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user