diff sat_templates/templates/default/input/field.html @ 231:aa37750c2617

theme (default): various fixes: - added missing </tr> in event/admin.html - fixed used of identities - uses `class` from kwargs in input/field.html
author Goffi <goffi@goffi.org>
date Tue, 19 May 2020 00:04:47 +0200
parents bdc578994b97
children
line wrap: on
line diff
--- a/sat_templates/templates/default/input/field.html	Tue May 19 00:02:34 2020 +0200
+++ b/sat_templates/templates/default/input/field.html	Tue May 19 00:04:47 2020 +0200
@@ -93,5 +93,5 @@
     @param text(str): label of the button
     @param id(none, str): id of the element
     #}
-    <input {{ 'id="{id}"'.format(id=id)|safe if id }} class="form_submit btn" type="submit" value="{{text}}" class="{{kwargs.pop('class', '')}}">
+    <input {{ 'id="{id}"'.format(id=id)|safe if id }} class="form_submit btn {{kwargs.pop('class', '')}}" type="submit" value="{{text}}">
 {% endmacro %}