Add event on page footer

This commit is contained in:
Julien Fastré 2016-04-10 01:38:42 +02:00
parent 9459d7a287
commit fe8994d775

View File

@ -82,15 +82,18 @@
{% if count > 0 %}
<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 bt-create' } } ) }}
{{ form_rest(form_add_participation_by_person) }}
{{ form_end(form_add_participation_by_person) }}
</div>
</li>
</ul>
<div style="margin-bottom: 1.5em;">
{{ form_start(form_add_participation_by_person) }}
{{ form_widget(form_add_participation_by_person.person_id, { 'attr' : { 'style' : 'width: 25em; display:inline-block; ' } } ) }}
{{ 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>
<div class="post_show">
{{ chill_delegated_block('block_footer_show', { 'event': event }) }}
</div>
{% endblock %}