2020-07-26 16:05:07 +01:00
|
|
|
{% extends 'settings/base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Notification Settings{% endblock %}
|
|
|
|
|
2020-08-06 00:05:06 +01:00
|
|
|
{% block stylesheets %}
|
2021-04-30 02:51:03 +01:00
|
|
|
{{ parent() }}
|
2020-08-06 00:05:06 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
2021-07-28 20:16:27 +01:00
|
|
|
{% block form %}
|
|
|
|
<div id='form-tabs'>
|
|
|
|
<h1>Settings / Notifications </h1>
|
2020-07-26 16:05:07 +01:00
|
|
|
|
2021-07-28 20:16:27 +01:00
|
|
|
<ul>
|
|
|
|
{% for transport, form in tabbed_forms %}
|
|
|
|
<input type="radio" id="toggle-{{ transport }}" name="tabs"
|
|
|
|
value="toggle-{{ transport }}" {% if transport == "email" %} checked {% endif %}>
|
|
|
|
<label for="toggle-{{ transport }}" id='tabs'>
|
|
|
|
{{ transport }}
|
|
|
|
</label>
|
|
|
|
<div id="form_{{ transport }}" class='form'>
|
|
|
|
{{ form(form) }}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
2020-08-07 23:47:03 +01:00
|
|
|
</div>
|
2021-07-28 20:16:27 +01:00
|
|
|
{% endblock form %}
|