mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 08:33:49 +00:00
improve layout
This commit is contained in:
@@ -44,12 +44,23 @@
|
||||
|
||||
{{ form_rest(form) }}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<ul class="record_actions sticky-form-buttons">
|
||||
<li class="cancel">
|
||||
<a href="{{ path('chill_person_accompanying_period_list', { 'person_id' : person.id } ) }}" class="sc-button bt-cancel">{{ 'Back to the list'|trans }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<button type="submit" class="sc-button bt-update">{{ 'Submit'|trans }}</button>
|
||||
<button type="submit" class="sc-button bt-save">
|
||||
{% if form.vars.action == 'update' %}
|
||||
{{ 'Update accompanying period'|trans }}
|
||||
{% elseif form.vars.action == 'open' %}
|
||||
{{ 'Update accompanying period'|trans }}
|
||||
{% elseif form.vars.action == 'close' %}
|
||||
{{'Close accompanying period'|trans }}
|
||||
{% elseif form.vars.action == 'create' %}
|
||||
{{ 'Create an accompanying period'|trans }}
|
||||
{% endif %}
|
||||
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
Reference in New Issue
Block a user