adding css class for buttons - page event new & show

This commit is contained in:
Marc Ducobu 2016-03-25 09:02:48 +01:00
parent 827d1d3f2c
commit 4aa6c4b53f
2 changed files with 5 additions and 4 deletions

View File

@ -16,6 +16,7 @@
<ul class="record_actions">
<li>
<a href="{{ path('chill_event_list_most_recent') }}" class="sc-button bt-cancel">
<i class="fa fa-arrow-left"></i>
{{ 'Back to the most recent events'|trans }}
</a>
</li>

View File

@ -30,7 +30,7 @@
<ul class="record_actions">
<li>
<a href="{{ path('chill_event__event_edit', { 'event_id': event.id }) }}" class="sc-button btn-edit">
<a href="{{ path('chill_event__event_edit', { 'event_id': event.id }) }}" class="sc-button bt-edit">
{{ 'Edit'|trans }}
</a>
</li>
@ -63,7 +63,7 @@
{% if is_granted('CHILL_EVENT_PARTICIPATION_UPDATE', participation) %}
<li>
<a href="{{ path('chill_event_participation_edit', { 'participation_id' : participation.id } ) }}"
class="sc-button btn-edit">
class="sc-button bt-edit">
{{ 'Edit'|trans }}
</a>
</li>
@ -80,12 +80,12 @@
<ul class="record_actions">
{% if count > 0 %}
<li><a href="#" class="sc-button btn-edit">{{ 'Edit all the participations'|trans }}</a></li>
<li><a href="#" class="sc-button bt-edit">{{ 'Edit all the participations'|trans }}</a></li>
{% endif %}
<li><div style="margin-left: 3em;">
{{ form_start(form_add_participation_by_person) }}
{{ form_widget(form_add_participation_by_person.person_id, { 'attr' : { 'style' : 'width: 20em; display:inline-block; ' } } ) }}
{{ form_widget(form_add_participation_by_person.submit, { 'attr' : { 'class' : 'sc-button btn-create' } } ) }}
{{ form_widget(form_add_participation_by_person.submit, { 'attr' : { 'class' : 'sc-button bt-create' } } ) }}
{{ form_rest(form_add_participation_by_person) }}
{{ form_end(form_add_participation_by_person) }}
</div>