Mercurial > libervia-templates
comparison 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 |
comparison
equal
deleted
inserted
replaced
230:0e69b5843c2f | 231:aa37750c2617 |
---|---|
91 {# submit button | 91 {# submit button |
92 | 92 |
93 @param text(str): label of the button | 93 @param text(str): label of the button |
94 @param id(none, str): id of the element | 94 @param id(none, str): id of the element |
95 #} | 95 #} |
96 <input {{ 'id="{id}"'.format(id=id)|safe if id }} class="form_submit btn" type="submit" value="{{text}}" class="{{kwargs.pop('class', '')}}"> | 96 <input {{ 'id="{id}"'.format(id=id)|safe if id }} class="form_submit btn {{kwargs.pop('class', '')}}" type="submit" value="{{text}}"> |
97 {% endmacro %} | 97 {% endmacro %} |