diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py
--- a/rhodecode/lib/helpers.py
+++ b/rhodecode/lib/helpers.py
@@ -25,6 +25,17 @@ from webhelpers.text import chop_at, col
replace_whitespace, urlify, truncate, wrap_paragraphs
from webhelpers.date import time_ago_in_words
+from webhelpers.html.tags import _set_input_attrs, _set_id_attr, \
+ convert_boolean_attrs, NotGiven
+
+def _reset(name, value=None, id=NotGiven, type="reset", **attrs):
+ _set_input_attrs(attrs, type, name, value)
+ _set_id_attr(attrs, id, name)
+ convert_boolean_attrs(attrs, ["disabled"])
+ return HTML.input(**attrs)
+
+reset = _reset
+
#Custom helpers here :)
class _Link(object):
'''
diff --git a/rhodecode/templates/admin/repos/repo_edit.html b/rhodecode/templates/admin/repos/repo_edit.html
--- a/rhodecode/templates/admin/repos/repo_edit.html
+++ b/rhodecode/templates/admin/repos/repo_edit.html
@@ -149,7 +149,8 @@
- ${h.submit('save','save',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.submit('save','Save',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.reset('reset','Reset',class_="ui-button ui-widget ui-state-default ui-corner-all")}
diff --git a/rhodecode/templates/admin/settings/settings.html b/rhodecode/templates/admin/settings/settings.html
--- a/rhodecode/templates/admin/settings/settings.html
+++ b/rhodecode/templates/admin/settings/settings.html
@@ -42,7 +42,7 @@
- ${h.submit('rescan','rescan repositories',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.submit('rescan','Rescan repositories',class_="ui-button ui-widget ui-state-default ui-corner-all")}
@@ -67,7 +67,7 @@
- ${h.submit('reindex','reindex',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.submit('reindex','Reindex',class_="ui-button ui-widget ui-state-default ui-corner-all")}
@@ -99,7 +99,8 @@
- ${h.submit('save','save settings',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.submit('save','Save settings',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.reset('reset','Reset',class_="ui-button ui-widget ui-state-default ui-corner-all")}
@@ -161,7 +162,8 @@
- ${h.submit('save','save settings',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.submit('save','Save settings',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.reset('reset','Reset',class_="ui-button ui-widget ui-state-default ui-corner-all")}
diff --git a/rhodecode/templates/admin/users/user_edit.html b/rhodecode/templates/admin/users/user_edit.html
--- a/rhodecode/templates/admin/users/user_edit.html
+++ b/rhodecode/templates/admin/users/user_edit.html
@@ -101,7 +101,8 @@
- ${h.submit('save','save',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.submit('save','Save',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.reset('reset','Reset',class_="ui-button ui-widget ui-state-default ui-corner-all")}
diff --git a/rhodecode/templates/admin/users/user_edit_my_account.html b/rhodecode/templates/admin/users/user_edit_my_account.html
--- a/rhodecode/templates/admin/users/user_edit_my_account.html
+++ b/rhodecode/templates/admin/users/user_edit_my_account.html
@@ -71,7 +71,11 @@
- ${h.submit('save','save',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.submit('save','Save',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.reset('reset','Reset',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+
+
+
diff --git a/rhodecode/templates/settings/repo_settings.html b/rhodecode/templates/settings/repo_settings.html
--- a/rhodecode/templates/settings/repo_settings.html
+++ b/rhodecode/templates/settings/repo_settings.html
@@ -128,7 +128,8 @@
- ${h.submit('update','update',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.submit('update','Update',class_="ui-button ui-widget ui-state-default ui-corner-all")}
+ ${h.reset('reset','Reset',class_="ui-button ui-widget ui-state-default ui-corner-all")}