mirror of https://github.com/jumpserver/jumpserver
35 lines
1.0 KiB
Python
35 lines
1.0 KiB
Python
{% extends '_base_only_content.html' %}
|
|
{% load static %}
|
|
{% load i18n %}
|
|
{% load bootstrap3 %}
|
|
{% block custom_head_css_js %}
|
|
<style>
|
|
.captcha {
|
|
float: right;
|
|
width: 50%;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
{% block html_title %}{% trans 'Forgot password' %}{% endblock %}
|
|
{% block title %} {% trans 'Forgot password' %}?{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if errors %}
|
|
<p class="red-fonts">{{ errors }}</p>
|
|
{% endif %}
|
|
<p>
|
|
{% trans 'Please enter the username for which you want to retrieve the password' %}
|
|
</p>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<form role="form" class="form-horizontal" action="" method="post">
|
|
{% csrf_token %}
|
|
{% bootstrap_field form.username layout="horizontal" %}
|
|
{% bootstrap_field form.captcha layout="horizontal" %}
|
|
<button type="submit" class="btn btn-primary block full-width m-b">{% trans 'Submit' %}</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|