diff default/input/field.html @ 46:0520b7c9dcc0

input/field: text can be specified for submit button
author Goffi <goffi@goffi.org>
date Sun, 24 Sep 2017 16:47:12 +0200
parents 38328c57f3ef
children 87680eed9e25
line wrap: on
line diff
--- a/default/input/field.html	Thu Jul 13 19:26:46 2017 +0200
+++ b/default/input/field.html	Sun Sep 24 16:47:12 2017 +0200
@@ -26,6 +26,6 @@
     <input type="hidden" name="{{name}}" value="{{value}}">
 {% endmacro %}
 
-{% macro submit() %}
-    <input type="submit" value="{{_("Send")}}">
+{% macro submit(text=_("Send")) %}
+    <input class="form_submit" type="submit" value="{{text}}">
 {% endmacro %}