Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
KLUGLUG
KL Event Management
Commits
0e6a4676
Commit
0e6a4676
authored
Apr 02, 2019
by
Yasaswini Chandolu
Browse files
Upload New File
parent
7355ed0f
Pipeline
#20233
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
flask/flaskblog/templates/login.html
0 → 100644
View file @
0e6a4676
{% extends "layout.html" %}
{% block content %}
<div
class=
"content-section"
>
<form
method=
"POST"
action=
""
>
{{ form.hidden_tag() }}
<fieldset
class=
"form-group"
>
<legend
class=
"border-bottom mb-4"
>
Log In
</legend>
<div
class=
"form-group"
>
{{ form.email.label(class="form-control-label") }}
{% if form.email.errors %}
{{ form.email(class="form-control form-control-lg is-invalid") }}
<div
class=
"invalid-feedback"
>
{% for error in form.email.errors %}
<span>
{{ error }}
</span>
{% endfor %}
</div>
{% else %}
{{ form.email(class="form-control form-control-lg") }}
{% endif %}
</div>
<div
class=
"form-group"
>
{{ form.password.label(class="form-control-label") }}
{% if form.password.errors %}
{{ form.password(class="form-control form-control-lg is-invalid") }}
<div
class=
"invalid-feedback"
>
{% for error in form.password.errors %}
<span>
{{ error }}
</span>
{% endfor %}
</div>
{% else %}
{{ form.password(class="form-control form-control-lg") }}
{% endif %}
</div>
<div
class=
"form-check"
>
{{ form.remember(class="form-check-input") }}
{{ form.remember.label(class="form-check-label") }}
</div>
</fieldset>
<div
class=
"form-group"
>
{{ form.submit(class="btn btn-outline-info") }}
</div>
<small
class=
"text-muted ml-2"
>
<a
href=
"#"
>
Forgot Password?
</a>
</small>
</form>
</div>
<div
class=
"border-top pt-3"
>
<small
class=
"text-muted"
>
Need An Account?
<a
class=
"ml-2"
href=
"{{ url_for('register') }}"
>
Sign Up Now
</a>
</small>
</div>
{% endblock content %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment