diff --git a/nummi/main/templates/main/form/base.html b/nummi/main/templates/main/form/base.html index e2cc2e4..d4c9652 100644 --- a/nummi/main/templates/main/form/base.html +++ b/nummi/main/templates/main/form/base.html @@ -21,27 +21,27 @@ {% endfor %} - - - - - - - - - - {% block buttons %} + + {% block buttons %} + + + + + + + + {% if not form.instance.adding %} {% translate "Delete" %} {% endif %} - {% endblock %} - - + + + {% endblock %} {% endblock %} diff --git a/nummi/main/templates/main/form/login.html b/nummi/main/templates/main/form/login.html index 1dcd88e..4e344c7 100644 --- a/nummi/main/templates/main/form/login.html +++ b/nummi/main/templates/main/form/login.html @@ -1,9 +1,11 @@ {% extends "main/form/base.html" %} {% load i18n %} {% block buttons %} -
- - - -
+ + + + + + + {% endblock %} diff --git a/nummi/main/templates/main/form/search.html b/nummi/main/templates/main/form/search.html index 6b71216..ffb1775 100644 --- a/nummi/main/templates/main/form/search.html +++ b/nummi/main/templates/main/form/search.html @@ -1,7 +1,10 @@ {% extends "main/form/base.html" %} {% load i18n %} {% block buttons %} -
- -
+ + + + + + {% endblock %}