fix folder name

This commit is contained in:
2021-03-18 13:37:13 +01:00
parent a2f6773f5a
commit eaa0ad925f
1578 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
{% if is_granted('CHILL_PERSON_CREATE') %}
<div class="grid-8 centered" style="text-align:center; margin-top: 1.5em;">
<a href="{{ path('chill_person_new') }}">
<div class="sc-button blue" style="float: inherit;">
{{ 'Add a person'|trans }}
</div>
</a>
</div>
{% endif %}

View File

@@ -0,0 +1,20 @@
{#
if the `custom_fields` option is used, the custom fields are available
under the customFields variable, with the custom field slug as key.
#}
{% import 'ChillPersonBundle:Person:macro.html.twig' as person %}
<div class="grid-8 centered">
<h2>{{ 'Accompanyied people'|trans }}</h2>
<table>
<tbody>
<tr>
{% for p in persons %}
{% if (loop.index - 1) % 3 == 0 %}
</tr><tr>
{% endif %}
<td>{{ person.render(p, true) }}</td>
{% endfor %}
</tr>
</tbody>
</table>
</div>