notification: create

This commit is contained in:
2021-12-25 22:41:25 +01:00
parent d62893827b
commit 11824adda4
10 changed files with 210 additions and 26 deletions

View File

@@ -0,0 +1,25 @@
{% extends "@ChillMain/layout.html.twig" %}
{% block content %}
<div class="row">
<div class="col-md-10">
{% include handler.template(notification) with handler.templateData(notification) %}
{{ form_start(form, { 'attr': { 'id': 'notification' }}) }}
{{ form_row(form.addressees) }}
{{ form_row(form.message) }}
{{ form_end(form) }}
<ul class="record_actions sticky-form-buttons">
<li class="cancel">
<a href="{{ chill_return_path_or('chill_main_homepage') }}" class="btn btn-cancel">{{ 'Cancel'|trans|chill_return_path_label }}</a>
</li>
<li>
<button type="submit" form="notification" class="btn btn-save">{{ 'Save'|trans }}</button>
</li>
</ul>
</div>
</div>
{% endblock %}