{% extends "base.html" %}
{% load i18n %}

{% block title %}Connexion id.auf{% endblock %}

{% block content %}

{% if messages %}
<ul class="messages">
    {% for message in messages %}
    <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
    {% endfor %}
</ul>
{% endif %}

{% comment %}
<div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all">
<ul>
{% for name, content in methods %}
<li><a href="#tabs-{{ forloop.counter }}">{% trans name %}</a></li>
{% endfor %}
</ul>
{% endcomment %}
{% for name, content in methods %}
{% comment %}
<div id="tabs-{{ forloop.counter }}" class="ui-tabs-panel ui-widget-content ui-corner-bottom">
{% endcomment %}
{{ content|safe }}
{% comment %}
</div>
{% endcomment %}
{% endfor %}
{% comment %}
</div>
<script type="text/javascript">
$( "#tabs" ).tabs({cookie: {path: '/'}});
</script>
{% endcomment %}
{% endblock %}

{% block extra_scripts %}
<script type="text/javascript" src="{{ STATIC_URL }}jquery/js/jquery.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}jquery/js/jquery.cookie.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}jquery/js/jquery-ui.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}jquery/js/jquery.simplemodal.js"></script>
{% endblock %}
