46 lines
1.8 KiB
HTML
46 lines
1.8 KiB
HTML
{% extends "hosting/base_short.html" %}
|
|
{% load staticfiles bootstrap3%}
|
|
{% load i18n %}
|
|
|
|
{% block content %}
|
|
<div class="auth-container">
|
|
<div class="auth-bg"></div>
|
|
<div class="auth-center">
|
|
<div class="auth-title">
|
|
<h2>{% trans "Your VM hosted in Switzerland"%}</h2>
|
|
</div>
|
|
<div class="auth-content">
|
|
<div class="intro-message auth-box sign-up">
|
|
<h2 class="section-heading">{% trans "Set your new password"%}</h2>
|
|
{% if messages %}
|
|
<ul class="list-unstyled">
|
|
{% for message in messages %}
|
|
<li>{{ message }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
<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>
|
|
<div class="auth-footer">
|
|
<div class="text">
|
|
<span>{% trans "Already have an account ?"%}</span>
|
|
</div>
|
|
<div class="links">
|
|
<a class="unlink" href="{% url 'hosting:login' %}">{% trans "Login"%}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|