refactor(base): cleanup form and prettyfy

!23 #24
This commit is contained in:
2024-06-10 09:37:54 +09:30
parent f05e51510a
commit 3fb2706321
4 changed files with 85 additions and 83 deletions

View File

@ -92,7 +92,7 @@ section h2 span svg {
{% endif %}
</h2>
{% block article %}
<article>
<article id="content-body">
{% block content %}{% endblock %}
</article>
{% endblock article %}

View File

@ -2,10 +2,11 @@
{% block content %}
<form method="post">
<div>
<form method="post" id="dynamic-form">
{% csrf_token %}
{{ form }}
{{ form.as_div }}
<input type="submit" value="Submit">
</form>
</div>
{% endblock %}