lenticular_cloud2/lenticular_cloud/template/auth/login_auth.html.j2

26 lines
755 B
Plaintext
Raw Normal View History

{% extends 'auth/base.html.j2' %}
2020-05-09 18:00:07 +00:00
{% block title %}{{ gettext('Login') }}{% endblock %}
{% block content %}
<ul class="nav nav-tabs" id="myTab" role="tablist">
{% for auth_name in forms.keys() %}
<li class="nav-item">
<a class="nav-link{{' active' if loop.first else ''}}" id="home-tab" data-toggle="tab" href="#{{ auth_name }}" role="tab" aria-controls="home" aria-selected="true">{{ gettext(auth_name) }}</a>
</li>
{% endfor %}
</ul>
<div class="tab-content" id="myTabContent">
{% for auth_name, form in forms.items() %}
<div class="tab-pane fade{{ ' show active' if loop.first else '' }}" id="{{ auth_name }}" role="tabpanel" aria-labelledby="{{ auth_name }}-tab">
{{ render_form(form) }}
</div>
{% endfor %}
</div>
2020-05-09 18:00:07 +00:00
{% endblock %}