Optimized for SPA

This commit is contained in:
Kevin Frantz
2019-01-05 23:52:37 +01:00
parent 9e685260e9
commit bccd6efaff
393 changed files with 253 additions and 37 deletions

View File

@@ -0,0 +1,6 @@
{% extends "frames/default.html.twig" %}
{% block title %}
{% trans %}
Law
{% endtrans %}
{% endblock %}

View 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 %}