gnu-social/templates/settings/notifications.html.twig
Eliseu Amaro eed74972c5
[SETTINGS][TWIG][CSS] Settings WIP. Form polished, dropdowns need styling.
Signed-off-by: Eliseu Amaro <mail@eliseuama.ro>
2021-09-14 13:13:12 +01:00

26 lines
800 B
Twig

{% extends 'settings/base.html.twig' %}
{% block title %}Notification Settings{% endblock %}
{% block stylesheets %}
{{ parent() }}
{% endblock %}
{% block form %}
<div class='form'>
<h1>Settings / Notifications </h1>
<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>
</div>
{% endblock form %}