diff --git a/src/Bundle/ChillEventBundle/Resources/views/Event/new.html.twig b/src/Bundle/ChillEventBundle/Resources/views/Event/new.html.twig index 12ea8f246..6412c94a5 100644 --- a/src/Bundle/ChillEventBundle/Resources/views/Event/new.html.twig +++ b/src/Bundle/ChillEventBundle/Resources/views/Event/new.html.twig @@ -1,18 +1,11 @@ -{% extends '@ChillEvent/layout.html.twig' %} - -{% block js %} - {{ encore_entry_script_tags('mod_async_upload') }} -{% endblock %} - -{% block css %} - {{ encore_entry_link_tags('mod_async_upload') }} -{% endblock %} - -{% block title 'Event creation'|trans %} - -{% block event_content -%} +{% extends '@ChillEvent/layout.html.twig' %} {% block js %} +{{ encore_entry_script_tags("mod_async_upload") }} +{% endblock %} {% block css %} +{{ encore_entry_link_tags("mod_async_upload") }} +{% endblock %} {% block title 'Event creation'|trans %} {% block event_content +-%}
{{ e.type.name|localize_translatable_string }}
- {% if e.moderator is not null %} -{{ 'Moderator'|trans }}: {{ e.moderator|chill_entity_render_box }}
- {% endif %} -{{ e.date|format_datetime('medium', 'medium') }}
-{{ 'count participations to this event'|trans({'count': e.participations|length}) }}
-{{ e.type.name | localize_translatable_string }}
+ {% if e.moderator is not null %} ++ {{ "Moderator" | trans }}: + {{ e.moderator | chill_entity_render_box }} +
{% endif %} -{{ e.date|format_datetime('medium', 'medium') }}
++ {{ 'count participations to this event'|trans({'count': e.participations|length}) }} +