Notifications list template

This commit is contained in:
2022-01-06 16:56:51 +01:00
parent 140f53b81f
commit c32b767d9b
9 changed files with 233 additions and 223 deletions

View File

@@ -11,26 +11,24 @@
{% endblock %}
{% block content %}
<div class="row">
<div class="col-md-10">
{% include handler.template(notification) with handler.templateData(notification) %}
<div class="col-10">
{% include handler.template(notification) with handler.templateData(notification) %}
{{ form_start(form, { 'attr': { 'id': 'notification' }}) }}
{{ form_start(form, { 'attr': { 'id': 'notification' }}) }}
{{ form_row(form.title) }}
{{ form_row(form.addressees) }}
{{ form_row(form.message) }}
{{ form_row(form.title) }}
{{ 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>
{{ form_end(form) }}
</div>
<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>
{% endblock %}