Implemented law standart template

This commit is contained in:
Kevin Frantz committed 2018-10-04 21:01:45 +02:00
1 parent 379e9c62e9
commit 00cd03f43d
4 files changed
+48 -5

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
{% extends "frames/default.html.twig" %}
{% block title %}
{% trans %}
Law
{% endtrans %}
{% endblock %}
@@ -0,0 +1,17 @@
{% extends "law/law.html.twig" %}
{% block content %}
<h1>
{% trans %}
Law
{% endtrans %}
#
{{ law.id }}
</h1>
{% trans %}
Responsible for:
{% endtrans %}
<a href="{{ path('app_node_show',{'id':law.node.id})}}"> {% trans with {'%law.node.id%':law.node.id}%}
node #%law.node.id% {% endtrans %}
</a>
.
{% endblock %}