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