Skip to content
Snippets Groups Projects
Commit 7ef13a80 authored by Zdenek Kubala's avatar Zdenek Kubala
Browse files

login+registration buttons

parent aa4db229
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,9 @@
<form method="post" action="">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="{% trans 'Submit' %}" />
<button class="btn btn btn--hoveractive btn--to-grey-500 " type="submit">
<div class="btn__body">{% trans 'Odeslat' %} </div>
</button>
</form>
{% endblock %}
......
......@@ -7,13 +7,22 @@
{% block title %}{% trans "Log in" %}{% endblock %}
{% block content %}
<form method="post" action="">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="{% trans 'Log in' %}" />
<input type="hidden" name="next" value="{{ next }}" />
</form>
<div class=" container container--default ">
<div class="row">
<div class="col-2 bg-primary p-3 ">
<div class="form-field--autowidth form-field__wrapper form-field__wrapper--shadowed ">
<form method="post" action="">
{% csrf_token %}
{{ form.as_table }}
<button class="btn btn btn--hoveractive btn--to-grey-500 " type="submit">
<div class="btn__body">{% trans 'Log in' %} </div>
</button>
<input type="hidden" name="next" value="{{ next }}" />
</form>
</div>
</div>
</div>
</div>
{% comment %}
<p>{% trans "Forgot your password?" %} <a href="{% url 'auth_password_reset' %}">{% trans "Reset it" %}</a>.</p>
<p>{% trans "Nemáte účet?" %} <a href="{% url 'django_registration_register' %}">{% trans "Register" %}</a>.</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment