style: add missing padding to forms (#54856)
gitea-wip/hobo/pipeline/head There was a failure building this commit Details
gitea/hobo/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Nicolas Roche 2021-06-16 17:59:04 +02:00
parent 136a28eb96
commit 76d503e36b
2 changed files with 17 additions and 13 deletions

View File

@ -33,14 +33,16 @@
</p>
{% else %}
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<div class="section padded">
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<div class="buttons">
<button class="submit-button">{% trans "Save" %}</button>
<div class="buttons">
<button class="submit-button">{% trans "Save" %}</button>
</div>
</form>
</div>
</form>
{% endif %}

View File

@ -87,14 +87,16 @@
{% endif %}
{% if mode == 'manual' %}
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<div class="section padded">
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<div class="buttons">
<button class="submit-button">{% trans "Save" %}</button>
</div>
</form>
<div class="buttons">
<button class="submit-button">{% trans "Save" %}</button>
</div>
</form>
</div>
{% endif %}
{% endif %}