Mercurial > libervia-templates
view default/input/form.html @ 69:339f4011ed9b
merge-request: first draft:
template for viewing a merge request (comments + patches) + a text explaining how to use jp to create a new one (new merge requests from inside Libervia is not handled yet).
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 01 Dec 2017 00:46:45 +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 %}