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

login+registration buttons

parent aa4db229
Branches
No related tags found
No related merge requests found
...@@ -7,7 +7,9 @@ ...@@ -7,7 +7,9 @@
<form method="post" action=""> <form method="post" action="">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ 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> </form>
{% endblock %} {% endblock %}
......
...@@ -7,13 +7,22 @@ ...@@ -7,13 +7,22 @@
{% block title %}{% trans "Log in" %}{% endblock %} {% block title %}{% trans "Log in" %}{% endblock %}
{% block content %} {% block content %}
<form method="post" action=""> <div class=" container container--default ">
{% csrf_token %} <div class="row">
{{ form.as_p }} <div class="col-2 bg-primary p-3 ">
<input type="submit" value="{% trans 'Log in' %}" /> <div class="form-field--autowidth form-field__wrapper form-field__wrapper--shadowed ">
<input type="hidden" name="next" value="{{ next }}" /> <form method="post" action="">
</form> {% 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 %} {% comment %}
<p>{% trans "Forgot your password?" %} <a href="{% url 'auth_password_reset' %}">{% trans "Reset it" %}</a>.</p> <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> <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