annotate sat_templates/templates/bulma/input/form.html @ 242:bb5193cef770
bulma (css): some styles to handle dynamic content + misc
author |
Goffi <goffi@goffi.org> |
date |
Fri, 19 Jun 2020 17:57:13 +0200 |
parents |
0e69b5843c2f |
children |
a18374320194 |
rev |
line source |
230
|
1 {% macro form(action='', class='') %} |
|
2 <form method="post" action="{{action}}" {{ {'class': class}|xmlattr }} {{kwargs|xmlattr}} > |
|
3 {% if csrf_token is defined %} |
|
4 <input type="hidden" name="csrf_token" value="{{csrf_token}}"> |
|
5 {% endif %} |
|
6 {{ caller() }} |
|
7 </form> |
|
8 {% endmacro %} |