{% extends "nosystemd/base.html" %}
{% load staticfiles bootstrap3%}
{% load i18n %}

{% block content %}

    <header>
        <div class="header-content">
            <div class="header-content-inner">
                <div class="col-md-3 col-md-offset-4">

                    <div class="intro-auth intro-reset-password">
                        <div class="container">
                            <div class="col-md-4">
                                <div class="intro-message">
                                    {% if messages %}
                                        <ul class="list-unstyled">
                                        {% for message in messages %}
                                            <li>{{ message }}</li>
                                        {% endfor %}
                                        </ul>
                                    {% endif %}

                                    <h2  class="section-heading">{% trans "Set your new password"%}</h2>

                                    <form action="" method="post" class="form" novalidate>
                                        {% csrf_token %}
                                        {% for field in form %}
                                            {% bootstrap_field field show_label=False %}
                                        {% endfor %}
                                        {% buttons %}
                                            <button type="submit" class="btn btn-default">
                                            {% trans "Reset"%}
                                            </button>
                                        {% endbuttons %}
                                    </form>
                                    <span>{% trans "Already have an account ?"%}<a class="unlink" href="{% url 'hosting:login' %}">{% trans "Log in"%}</a></span>
                                    <ul class="list-inline intro-social-buttons">
                                    </ul>
                              </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </header>

{% endblock %}