mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
38 lines
1.2 KiB
Twig
38 lines
1.2 KiB
Twig
{% extends "@ChillMain/layout.html.twig" %}
|
|
|
|
{% block title 'Update third party %name%'|trans({ '%name%': thirdParty.name }) %}
|
|
|
|
{% block content %}
|
|
<div class="grid-10 centered">
|
|
<h1>
|
|
{{ 'Update third party %name%'|trans({ '%name%': thirdParty.name }) }}
|
|
<span class="chill__box {{ thirdParty.active ? 'green' : 'red' }}">{{ (thirdParty.active ? 'Active, shown to users' : 'Inactive, not shown to users')|trans }}</span>
|
|
|
|
</h1>
|
|
|
|
{{ form_start(form) }}
|
|
{{ form_row(form.name) }}
|
|
{{ form_row(form.type) }}
|
|
{{ form_row(form.telephone) }}
|
|
{{ form_row(form.email) }}
|
|
{{ form_row(form.address) }}
|
|
|
|
{{ form_row(form.active) }}
|
|
{{ form_row(form.centers) }}
|
|
{{ form_row(form.comment) }}
|
|
|
|
|
|
<ul class="record_actions">
|
|
<li class="cancel">
|
|
<a class="sc-button bt-cancel" href="{{ chill_path_forward_return_path('chill_3party_3party_index') }}">
|
|
{{ 'Back to the list'|trans }}
|
|
</a>
|
|
<li>
|
|
{{ form_row(form.submit, {'label': 'Update', 'attr': {'class': 'sc-button bt-update' }}) }}
|
|
</li>
|
|
</ul>
|
|
|
|
{{ form_end(form) }}
|
|
</div>
|
|
{% endblock %}
|