~cedric/newspipe

ref: bffe932d312bfb8e60dbc74b4bd47ea5fa137e30 newspipe/newspipe/templates/login.html -rw-r--r-- 1.1 KiB
bffe932dC├ędric Bonhomme fixed a minor issue in the bookmarks template concerning the list of tags about a bookmark 8 months ago
                                                                                
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
{% extends "layout.html" %}
{% block content %}
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-6">
            <h2>{{ _('Log In') }}</h2>
            <form action="{{ url_for('login') }}" method=post>
                {{ form.hidden_tag() }}
                <div class="form-group">
                {{ form.nickmane(class_="form-control", placeholder=_('Your nickname')) }}
                </div>
                {% for message in form.nickmane.errors %}
                    <div class="alert alert-warning" role="alert">{{ message }}</div>
                {% endfor %}
                <div class="form-group">
                {{ form.password(class_="form-control", placeholder=_('Your Password')) }}
                </div>
                {% for message in form.password.errors %}
                    <div class="alert alert-warning" role="alert">{{ message }}</div>
                {% endfor %}
                {{ form.submit(class_="btn btn-primary") }}
                <a href="/signup" class="btn btn-secondary">{{ _('Sign up') }}</a>
            </form>
        </div>
    </div>
</div><!-- /.container -->
{% endblock %}