fixes for form pages
This commit is contained in:
parent
905712dbca
commit
45b10ca526
|
@ -1,8 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="mt-3">{{ self.title() }}</h1>
|
||||
{% block form %}
|
||||
<h1>{{ self.title() }}</h1>
|
||||
{% include "form/main.html" %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{% extends "form/simple.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% from "form/controls.html" import render_field, checkbox, submit %}
|
||||
|
||||
{% block title %}Login{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% set action=url_for('.login') %}
|
||||
{% set label="Sign in" %}
|
||||
|
||||
|
@ -18,3 +20,7 @@
|
|||
<a href="{{ url_for('.password_reset') }}">forgotten your password?</a>
|
||||
</div>
|
||||
{% endset %}
|
||||
|
||||
<h1>{{ self.title() }}</h1>
|
||||
{% include "form/main.html" %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{% extends "form/simple.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% from "form/controls.html" import render_field %}
|
||||
|
||||
{% block title %}Sign up{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% set action=url_for('.signup') %}
|
||||
{% set label="Sign up" %}
|
||||
|
||||
|
@ -11,3 +12,7 @@
|
|||
{{ render_field(form.password) }}
|
||||
{{ render_field(form.email) }}
|
||||
{% endset %}
|
||||
|
||||
<h1>{{ self.title() }}</h1>
|
||||
{% include "form/main.html" %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue