Fix form styling

This commit is contained in:
Lukáš Kucharczyk 2023-02-18 22:36:26 +01:00
parent d272915ef6
commit dc6c295ee7
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 15 additions and 9 deletions

View File

@ -20,3 +20,11 @@ textarea {
#button-container button { #button-container button {
@apply mx-1; @apply mx-1;
} }
th {
@apply text-left;
}
th label {
@apply mr-4;
}

View File

@ -7,12 +7,10 @@
<form method="post" enctype="multipart/form-data"> <form method="post" enctype="multipart/form-data">
<table class="mx-auto"> <table class="mx-auto">
{% csrf_token %} {% csrf_token %}
{{ form.as_table }} {{ form.as_table }}
<tr> <tr>
<td></td> <td><input type="submit" value="Submit"/></td>
<td>
<input type="submit" value="Submit" />
</td>
</tr> </tr>
</table> </table>
</form> </form>