diff --git a/biscuit/core/templates/contact_form/contact_form.html b/biscuit/core/templates/contact_form/contact_form.html index 2dca464ec551c599d77973869dff521f0666b814..7e0078ab33806513f6c3d75c8e7aa827206e98cb 100644 --- a/biscuit/core/templates/contact_form/contact_form.html +++ b/biscuit/core/templates/contact_form/contact_form.html @@ -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 %} diff --git a/biscuit/core/templates/registration/login.html b/biscuit/core/templates/registration/login.html index fb5607531f3c6b7fea579e37b042e4f184967baa..2a1de1d1998c990881f1b8d1bdbd00990f58e6f4 100644 --- a/biscuit/core/templates/registration/login.html +++ b/biscuit/core/templates/registration/login.html @@ -1,6 +1,6 @@ {# -*- 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 %}