one BIG button
This commit is contained in:
parent
b938f6786e
commit
5d997066de
1 changed files with 6 additions and 7 deletions
|
@ -1,11 +1,11 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
{% load crispy_forms_tags %}
|
{% load crispy_forms_tags %}
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<link rel="stylesheet" href="{% static 'css/login.css' %}">
|
<link rel="stylesheet" href="{% static 'css/login.css' %}">
|
||||||
{% endblock header %}
|
{% endblock header %}
|
||||||
{% block head_title %}{% trans "Sign In" %}{% endblock head_title %}
|
{% block head_title %}{% trans "Sign In" %}{% endblock head_title %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<img class="logowvh" src="{% static 'img/logo/wvh.svg'%}" alt="" >
|
<img class="logowvh" src="{% static 'img/logo/wvh.svg'%}" alt="" >
|
||||||
|
@ -14,14 +14,13 @@
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h5>Willkommen bei der <strong>Fallen Birdy Form</strong> App</h5>
|
<h5>Willkommen bei der <strong>Fallen Birdy Form</strong> App</h5>
|
||||||
<form class="login" method="POST" action="{% url 'account_login' %}">
|
<form class="login" method="POST" action="{% url 'account_login' %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form|crispy }}
|
{{ form|crispy }}
|
||||||
{% if redirect_field_value %}
|
{% if redirect_field_value %}
|
||||||
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/>
|
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="btn-group col-12" role="group" data-toggle="buttons">
|
<div class="btn-group col-12" role="group" data-toggle="buttons">
|
||||||
<button class="col-4 btn btn-primary" type="submit">{% trans "Sign In" %}</button>
|
<button class="col-3 btn btn-primary" type="submit">{% trans "Sign In" %}</button>
|
||||||
<div class="col-1"></div>
|
|
||||||
<a class="col-3 btn btn-danger" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
|
<a class="col-3 btn btn-danger" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue