view sat_templates/templates/default/input/form.html @ 212:255faa03379a

css (noscript): fixed blog not visible without javascript: blogs in languages other than the one selected are initially hidden with a clickable banner with javascript, but this was making them impossible to read without it. Furthermore, comments were not visible either, due to a change in class name. fix 302
author Goffi <goffi@goffi.org>
date Tue, 09 Jul 2019 21:58:51 +0200
parents e9f0a4215e46
children
line wrap: on
line source

{% macro form(action='', class='') %}
<form method="post" action="{{action}}" {{ {'class': class}|xmlattr }} {{kwargs|xmlattr}} >
    {% if csrf_token is defined %}
        <input type="hidden" name="csrf_token" value="{{csrf_token}}">
    {% endif %}
    {{ caller() }}
</form>
{% endmacro %}