mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 14:24:24 +00:00
show always the form "add a participant" even if no participation yet
This commit is contained in:
parent
937c6269a1
commit
372cae7008
@ -75,18 +75,22 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<ul class="record_actions">
|
|
||||||
<li><a href="#" class="sc-button btn-edit">{{ 'Edit all the participations'|trans }}</a></li>
|
|
||||||
<li><div style="padding-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_rest(form_add_participation_by_person) }}
|
|
||||||
{{ form_end(form_add_participation_by_person) }}
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<ul class="record_actions">
|
||||||
|
{% if count > 0 %}
|
||||||
|
<li><a href="#" class="sc-button btn-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_rest(form_add_participation_by_person) }}
|
||||||
|
{{ form_end(form_add_participation_by_person) }}
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user