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 %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock %}
|
|
|
|
|
2020-07-26 16:05:07 +01:00
|
|
|
{% block body %}
|
2020-08-07 23:47:03 +01:00
|
|
|
<div class='content'>
|
|
|
|
{% block primary_nav %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock primary_nav %}
|
2020-07-26 16:05:07 +01:00
|
|
|
|
2020-08-07 23:47:03 +01:00
|
|
|
{% block form %}
|
|
|
|
<div id='form-tabs'>
|
|
|
|
<ul>
|
|
|
|
{% for transport, form in tabbed_forms %}
|
2020-08-08 02:24:27 +01:00
|
|
|
<input type="radio" id="toggle-{{ transport }}" name="tabs" value="toggle-{{ transport }}" {% if transport == "email" %} checked {% endif %}>
|
|
|
|
<label for="toggle-{{ transport }}" id='tabs'>
|
2020-08-07 23:47:03 +01:00
|
|
|
{{ transport }}
|
|
|
|
</label>
|
|
|
|
<div id="form_{{ transport }}" class='form'>
|
|
|
|
{{ form(form) }}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% endblock form %}
|
|
|
|
</div>
|
2020-07-26 16:05:07 +01:00
|
|
|
|
|
|
|
{% endblock body %}
|