mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Implemented law standart template
This commit is contained in:
6
application/templates/law/law.html.twig
Normal file
6
application/templates/law/law.html.twig
Normal file
@@ -0,0 +1,6 @@
|
||||
{% extends "frames/default.html.twig" %}
|
||||
{% block title %}
|
||||
{% trans %}
|
||||
Law
|
||||
{% endtrans %}
|
||||
{% endblock %}
|
17
application/templates/law/view/standard.html.twig
Normal file
17
application/templates/law/view/standard.html.twig
Normal file
@@ -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 %}
|
Reference in New Issue
Block a user