2020-07-26 16:05:07 +01:00
|
|
|
{% extends 'settings/base.html.twig' %}
|
2020-06-26 21:46:40 +01:00
|
|
|
|
2020-07-20 00:22:41 +01:00
|
|
|
{% block title %}Profile Settings{% endblock %}
|
|
|
|
|
2020-07-20 18:42:44 +01:00
|
|
|
{% block body %}
|
2020-07-26 16:05:07 +01:00
|
|
|
<div class='content'>
|
2020-08-15 00:39:32 +01:00
|
|
|
<div class="main">
|
|
|
|
{% block primary_nav %}
|
|
|
|
{{ parent() }}
|
|
|
|
{% endblock primary_nav %}
|
2020-07-26 16:05:07 +01:00
|
|
|
|
2020-08-15 00:39:32 +01:00
|
|
|
<div class="secundary">
|
|
|
|
{% 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>
|
|
|
|
<a href="{{ path('settings_avatar') }}" class='hover-effect {{ active('settings_avatar') }}'>Avatar</a>
|
|
|
|
</li>
|
2020-11-24 16:47:07 +00:00
|
|
|
{% for tab in profile_tabs %}
|
|
|
|
<li>
|
2020-11-28 22:11:54 +00:00
|
|
|
<a href="{{ path(tab['route']) }}" class='hover-effect {{ active(tab['route']) }}' >{{ tab['title'] }}</a>
|
2020-11-24 16:47:07 +00:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
2020-08-15 00:39:32 +01:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
{% endblock secundary_nav %}
|
2020-07-23 23:48:59 +01:00
|
|
|
|
2020-08-15 00:39:32 +01:00
|
|
|
{% block form %}
|
|
|
|
<div class='form'>
|
|
|
|
{{ form(prof) }}
|
|
|
|
</div>
|
|
|
|
{% endblock form %}
|
2020-07-26 16:05:07 +01:00
|
|
|
</div>
|
2020-08-15 00:39:32 +01:00
|
|
|
</div>
|
2020-07-26 16:05:07 +01:00
|
|
|
</div>
|
|
|
|
{% endblock body %}
|