comparison 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
comparison
equal deleted inserted replaced
45:9d75eeb2e933 46:0520b7c9dcc0
24 24
25 {% macro meta(name, value) %} 25 {% macro meta(name, value) %}
26 <input type="hidden" name="{{name}}" value="{{value}}"> 26 <input type="hidden" name="{{name}}" value="{{value}}">
27 {% endmacro %} 27 {% endmacro %}
28 28
29 {% macro submit() %} 29 {% macro submit(text=_("Send")) %}
30 <input type="submit" value="{{_("Send")}}"> 30 <input class="form_submit" type="submit" value="{{text}}">
31 {% endmacro %} 31 {% endmacro %}