notifications.html.twig 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {% extends 'settings/base.html.twig' %}
  2. {% block title %}Notification Settings{% endblock %}
  3. {% block stylesheets %}
  4. {{ parent() }}
  5. {% endblock %}
  6. {% block body %}
  7. <div class='content'>
  8. <div class="main">
  9. {% block primary_nav %}
  10. {{ parent() }}
  11. {% endblock primary_nav %}
  12. <div class="secundary">
  13. {% block form %}
  14. <div id='form-tabs'>
  15. <ul>
  16. {% for transport, form in tabbed_forms %}
  17. <input type="radio" id="toggle-{{ transport }}" name="tabs" value="toggle-{{ transport }}" {% if transport == "email" %} checked {% endif %}>
  18. <label for="toggle-{{ transport }}" id='tabs'>
  19. {{ transport }}
  20. </label>
  21. <div id="form_{{ transport }}" class='form'>
  22. {{ form(form) }}
  23. </div>
  24. {% endfor %}
  25. </ul>
  26. </div>
  27. {% endblock form %}
  28. </div>
  29. </div>
  30. </div>
  31. {% endblock body %}