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

43 lines
1.6 KiB
Twig
Raw Normal View History

{% extends 'settings/base.html.twig' %}
{% block title %}Profile Settings{% 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 secundary_nav %}
<nav class='set-nav'>
<ul>
<li>
<a href="{{ path('settings_personal_info') }}"
class='hover-effect {{ active('settings_personal_info') }}'>Personal Info</a>
</li>
<li>
2021-04-30 02:51:03 +01:00
<a href="{{ path('settings_avatar') }}"
class='hover-effect {{ active('settings_avatar') }}'>Avatar</a>
2020-08-15 00:39:32 +01:00
</li>
{% for tab in profile_tabs %}
<li>
2021-04-30 02:51:03 +01:00
<a href="{{ path(tab['route']) }}"
class='hover-effect {{ active(tab['route']) }}'>{{ tab['title'] }}</a>
</li>
{% endfor %}
2020-08-15 00:39:32 +01:00
</ul>
</nav>
{% endblock secundary_nav %}
2020-08-15 00:39:32 +01:00
{% block form %}
<div class='form'>
{{ form(prof) }}
</div>
{% endblock form %}
</div>
2020-08-15 00:39:32 +01:00
</div>
</div>
{% endblock body %}