gnu-social/templates/settings/notifications.html.twig

38 lines
1.3 KiB
Twig
Raw Normal View History

{% extends 'settings/base.html.twig' %}
{% block title %}Notification Settings{% endblock %}
{% block stylesheets %}
2021-04-30 02:51:03 +01:00
{{ parent() }}
{% endblock %}
{% block body %}
<div class='content'>
2020-08-15 00:39:32 +01:00
<div class="main">
{% block primary_nav %}
{{ parent() }}
{% endblock primary_nav %}
<div class="secondary">
2020-08-15 00:39:32 +01:00
{% block form %}
<div id='form-tabs'>
<ul>
{% for transport, form in tabbed_forms %}
2021-04-30 02:51:03 +01:00
<input type="radio" id="toggle-{{ transport }}" name="tabs"
value="toggle-{{ transport }}" {% if transport == "email" %} checked {% endif %}>
2020-08-15 00:39:32 +01:00
<label for="toggle-{{ transport }}" id='tabs'>
{{ transport }}
</label>
<div id="form_{{ transport }}" class='form'>
{{ form(form) }}
</div>
{% endfor %}
</ul>
</div>
{% endblock form %}
</div>
2020-08-15 00:39:32 +01:00
</div>
</div>
{% endblock body %}