Skip to content
Snippets Groups Projects
Verified Commit 6299e0eb authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Use bootstrap buttons instead of input tag.

parent 2981a8ed
Branches 616-docs-document-dashboard-and-dashboard-widgets
No related tags found
1 merge request!52Use bootstrap buttons instead of input tag.
......@@ -10,6 +10,8 @@
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}
<input type="submit" value="Send" />
<button type="submit" class="btn btn-secondary">
{% blocktrans %}Send{% endblocktrans %}
</button>
</form>
{% endblock %}
{# -*- engine:django -*- #}
{% extends "core/base.html" %}
{% load bootstrap4 %}
{% load bootstrap4 i18n %}
{% block content %}
{% if next %}
......@@ -17,7 +17,11 @@
<form method="post" action="{% url 'login' %}">
{% csrf_token %}
{% bootstrap_form form %}
<input type="submit" value="Login" />
<input type="hidden" name="next" value="{{ next }}">
<button type="submit" class="btn btn-secondary">
{% blocktrans %}Login{% endblocktrans %}
</button>
<button type="hidden" class="btn btn-secondary">
{{ next }}
</button>
</form>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment