Fix form styling
This commit is contained in:
parent
2680476fe8
commit
42e9ba15c5
|
@ -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;
|
||||||
|
}
|
||||||
|
|
|
@ -3,11 +3,14 @@
|
||||||
{% block title %}{{ title }}{% endblock title %}
|
{% block title %}{{ title }}{% endblock title %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<form method="post" enctype="multipart/form-data" class="mx-auto">
|
<form method="post" enctype="multipart/form-data">
|
||||||
|
<table class="mx-auto">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
{{ form.as_p }}
|
{{ form.as_table }}
|
||||||
|
<tr>
|
||||||
<input type="submit" value="Submit"/>
|
<td><input type="submit" value="Submit"/></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
Loading…
Reference in New Issue