aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/admin/create_user.html
blob: 5a6838bd350ffe0e6a2129e7718e85d35e0ea65a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% extends "layout.html" %}
{% block head%}
{{super()}}
{% endblock %}
{% block content %}
<div class="container">
    <div class="jumbotron">
        <h2>{{ message|safe }}</h2>
        <form action="" method="post" name="saveprofileform" id="profileform">
            {{ form.hidden_tag() }}

            {{ form.firstname.label }}
            {{ form.firstname(class_="form-control") }} {% for error in form.firstname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}

            {{ form.lastname.label }}
            {{ form.lastname(class_="form-control") }} {% for error in form.lastname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}

            {{ form.email.label }}
            {{ form.email(class_="form-control") }} {% for error in form.email.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}

            {{ form.password.label }}
            {{ form.password(class_="form-control") }} {% for error in form.password.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}

            <br />
            {{ form.submit(class_="btn") }}
        </form>
    </div>
</div>
{% endblock %}
bgstack15