create index action for CRUD

This commit is contained in:
2020-03-12 12:13:41 +01:00
parent 7a952d6f88
commit ba742dd7be
6 changed files with 109 additions and 77 deletions

View File

@@ -1,6 +1,6 @@
<div class="{% block crud_content_main_div_class %}grid-10 centered{% endblock %}">
{% block crud_content_header %}
<h1>{{ 'crud.%crud_name%.title_new'|trans({'%crud_name%' : crud_name }) }}</h1>
<h1>{{ ('crud.' ~ crud_name ~ '.title_new')|trans({'%crud_name%' : crud_name }) }}</h1>
{% endblock crud_content_header %}
{% block crud_content_form %}