Mercurial > libervia-templates
view default/input/form.html @ 61:f76ec90e0e1e
base: menus handling, first draft:
this is a very basic way to handle menu (big buttons on the top), just a first draft to be able to navigate.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 11 Nov 2017 00:16:35 +0100 |
parents | 87680eed9e25 |
children |
line wrap: on
line source
{% macro form(action='', class='') %} <form method="post" action="{{action}}" {{ {'class': class}|xmlattr }}> {% if csrf_token is defined %} <input type="hidden" name="csrf_token" value="{{csrf_token}}"> {% endif %} {{ caller() }} </form> {% endmacro %}