mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
[UI] set action button bottom of edit form according to crud template
This commit is contained in:
parent
5154039182
commit
ceb3b5e955
@ -74,3 +74,6 @@ Version 1.5.8
|
||||
CRUD-init branch
|
||||
================
|
||||
|
||||
- create CRUD
|
||||
- add the ability to add alt names to persons
|
||||
- [UI] set action button bottom of edit form according to crud template
|
||||
|
@ -92,14 +92,19 @@
|
||||
|
||||
{{ form_rest(form) }}
|
||||
|
||||
<div class="grid-12 centered sticky-form-buttons">
|
||||
|
||||
<ul class="grid-12 sticky-form-buttons record_actions ">
|
||||
<li class="cancel">
|
||||
<a href="{{ path('chill_person_view', {'person_id' : person.id}) }}" class="sc-button grey center margin-5">
|
||||
<i class="fa fa-arrow-left"></i>
|
||||
{{ 'Return'|trans }}
|
||||
</a>
|
||||
<button class="sc-button green center margin-5" type="submit"><i class="fa fa-save"></i> {{ 'Submit'|trans }}</button>
|
||||
<button class="sc-button red center margin-5" type="reset"><i class="fa fa-eraser"></i> {{ 'Reset'|trans }}</button>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<button class="sc-button bt-save" type="submit">{{ 'Save'|trans }}</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
{{ form_end(form) }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user