mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
47 lines
1.4 KiB
Twig
47 lines
1.4 KiB
Twig
{% extends '@ChillEvent/layout.html.twig' %} {% block js %}
|
|
{{ encore_entry_script_tags("mod_async_upload") }}
|
|
{{ encore_entry_script_tags("mod_pickentity_type") }}
|
|
|
|
{% endblock %} {% block css %}
|
|
{{ encore_entry_link_tags("mod_async_upload") }}
|
|
{{ encore_entry_link_tags("mod_pickentity_type") }}
|
|
|
|
{% endblock %} {% block title 'Event creation'|trans %} {% block event_content
|
|
-%}
|
|
<div class="col-10">
|
|
<h1>{{ "Event creation" | trans }}</h1>
|
|
|
|
{{ form_start(form) }}
|
|
{{ form_errors(form) }}
|
|
{# {{ form_row(form.circle) }}#}
|
|
{{ form_row(form.name) }}
|
|
{{ form_row(form.circle) }}
|
|
{{ form_row(form.date) }}
|
|
{{ form_row(form.type, { label: "Event type" }) }}
|
|
{{ form_row(form.themes) }}
|
|
{{ form_row(form.moderator) }}
|
|
{{ form_row(form.location) }}
|
|
{{ form_row(form.organizationCost) }}
|
|
{{ form_row(form.comment) }}
|
|
{{ form_row(form.documents) }}
|
|
|
|
<ul class="record_actions sticky-form-buttons">
|
|
<li class="cancel">
|
|
<a
|
|
href="{{ path('chill_event_list_most_recent') }}"
|
|
class="btn btn-cancel"
|
|
>
|
|
{{ "Back to the most recent events" | trans }}
|
|
</a>
|
|
</li>
|
|
<li>
|
|
{{
|
|
form_widget(form.submit, { attr: { class: "btn btn-create" } })
|
|
}}
|
|
</li>
|
|
</ul>
|
|
|
|
{{ form_end(form) }}
|
|
</div>
|
|
{% endblock %}
|