<ul class="{% if favorite is defined and favorite == 1 %}favorite{% endif %}">
<li>
<a href="{{ url('mypage') }}"{% if mypageno|default('') == 'index' %} class="active"{% endif %}>
<span>ご注文履歴</span>
</a>
</li>
<li>
<a href="{{ url('mypage') }}change"{% if Page.url == "mypage_change" %} class="active"{% endif %}>
<span>生徒情報の編集</span>
</a>
</li>
<li>
<a href="{{ url('mypage') }}change_saisun"{% if Page.url == "mypage_change_saisun" %} class="active"{% endif %}>
<span>採寸情報の編集</span>
</a>
</li>
<li>
<a href="{{ url('user_data', {'route': 'mypage_itemlist'}) }}" {% if Page.url == "mypage_itemlist" %}class="active"{% else %}{% endif %}>
<span>入学時の必要品</span>
</a>
</li>
<li>
<a href="{{ url('mypage') }}delivery"{% if mypageno|default('') == 'delivery' %} class="active"{% endif %}>
<span>お届け先の編集</span>
</a>
</li>
{% if favorite is defined and favorite == 1 %}
<li style="display:none">
<a href="{{ url('mypage') }}favorite"{% if mypageno|default('') == 'favorite' %} class="active"{% endif %}>
<span>お気に入り一覧</span>
</a>
</li>
{% endif %}
{% if app.user.school.school_measuring_flag == 1 or app.user.school.store_measuring_flag == 1 %}
<li>
<a href="{{ url('mypage') }}reserve"{% if Page.url starts with "mypage_reserve" %}class="active"{% endif %}>
<span>予約情報確認・キャンセル・変更</span>
</a>
</li>
{% endif %}
{% if app.user.school.customer_selfdel_flg == 1 %}
<li>
<a href="{{ url('mypage') }}withdraw"{% if Page.url == "mypage_withdraw" %} class="active"{% endif %}>
<span>退会手続き</span>
</a>
</li>
{% endif %}
</ul>