annotate sat_templates/templates/bulma/input/form.html @ 233:1215a6e2385f
components/avatar: fixed avatar if `identity.avatar_basename` is None
author |
Goffi <goffi@goffi.org> |
date |
Tue, 19 May 2020 18:40:53 +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 %} |