mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Optimized for SPA
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{{ source.name }}
|
@@ -0,0 +1 @@
|
||||
{% include "source/view/content/name." ~ app.request.requestFormat ~ ".twig" with {'source':source.nameSource}%}
|
5
application/symfony/templates/source/view/name.html.twig
Normal file
5
application/symfony/templates/source/view/name.html.twig
Normal file
@@ -0,0 +1,5 @@
|
||||
{% extends "source/view/source.html.twig" %}
|
||||
{% block content %}
|
||||
<h1>{% trans %} Name {% endtrans %}</h1>
|
||||
{% include "source/view/content/name." ~ app.request.requestFormat ~ ".twig" %}
|
||||
{% endblock %}
|
@@ -0,0 +1,7 @@
|
||||
{% extends "source/source.html.twig" %}
|
||||
{% block title %}
|
||||
{% trans %}
|
||||
Source
|
||||
{% endtrans %}
|
||||
#{{ source.id }}
|
||||
{% endblock %}
|
5
application/symfony/templates/source/view/user.html.twig
Normal file
5
application/symfony/templates/source/view/user.html.twig
Normal file
@@ -0,0 +1,5 @@
|
||||
{% extends "source/view/source.html.twig" %}
|
||||
{% block content %}
|
||||
<h1>{% trans %} User {% endtrans %}</h1>
|
||||
{% include "source/view/content/user." ~ app.request.requestFormat ~ ".twig" %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user