<h2 class="bottom-pad">{{ __("Custom Pages - %s", "default", cabin|e('html')) }}</h2>
<select title="{{ __("Cabin")|e('html_attr') }}" id="pages_list_cabin">{% spaceless %}
{% for cab in cabins %}
<option
value="{{ cab|e('html_attr') }}"
{% if cab == cabin %} selected="selected"{% endif %}
>{{ cab }}</option>
{% endfor %}
{% endspaceless %}</select>
<ul class="bridge_page_list_header_pathinfo">
<li{% if current == "" %} class="current_dir"{% endif %}>
<a href="{{ cabin_url() }}pages/{{ cabin|e('url') }}">
<i class="fa fa-home"></i> {{ __("Home") }}
</a>
</li>
{% set acc_path = '' %}
{% for piece in path %}
{% if piece %}
{% if acc_path %}
{% set acc_path = acc_path ~ '/' ~ piece %}
{% else %}
{% set acc_path = piece %}
{% endif %}
<li{% if acc_path == current %} class="current_dir"{% endif %}>
<a href="{{ cabin_url() }}pages/{{ cabin|e('url') }}?dir={{ acc_path|e('url') }}">
{{ piece }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
|