update design
This commit is contained in:
@@ -6,22 +6,33 @@
|
|||||||
<!-- Main Content -->
|
<!-- Main Content -->
|
||||||
<main class="container mx-auto w-full px-4 my-8 flex-1">
|
<main class="container mx-auto w-full px-4 my-8 flex-1">
|
||||||
<h1 class="page-title">Neuen Beschluss eingeben</h1>
|
<h1 class="page-title">Neuen Beschluss eingeben</h1>
|
||||||
<div class="w-full h-full flex-1 flex justify-center items-center">
|
|
||||||
<form action="" enctype="multipart/form-data" method="POST" class="w-full max-w-xs sm:max-w-prose sm:px-28 sm:py-4 grid grid-cols-1 gap-y-3 sm:gap-y-6 text-gray-900">
|
|
||||||
{% csrf_token %}
|
|
||||||
|
|
||||||
{% include "baseform/non_field_errors.html" %}
|
<form action="" enctype="multipart/form-data" method="POST" class="multiSectionForm max-w-2xl">
|
||||||
|
{% csrf_token %}
|
||||||
|
{% include "baseform/non_field_errors.html" %}
|
||||||
|
|
||||||
{% include "baseform/select.html" with field=form.option %}
|
<section>
|
||||||
{% include "baseform/text.html" with field=form.name %}
|
<div class="grid grid-cols-1 gap-x-6 gap-y-6 sm:grid-cols-6">
|
||||||
{% include "baseform/date.html" with field=form.date %}
|
<div class="sm:col-span-3">
|
||||||
{% include "baseform/text.html" with field=form.voting %}
|
{% include "baseform/select.html" with field=form.option %}
|
||||||
{% include "baseform/textarea.html" with field=form.voting_text %}
|
</div>
|
||||||
|
<div class="col-span-full">
|
||||||
<div class="flex flex-col-reverse sm:flex-row gap-3 justify-end pt-4 sm:pt-0">
|
{% include "baseform/text.html" with field=form.name %}
|
||||||
<input type="submit" class="block btn btn-primary" value="Absenden">
|
</div>
|
||||||
|
<div class="sm:col-span-3">
|
||||||
|
{% include "baseform/date.html" with field=form.date %}
|
||||||
|
</div>
|
||||||
|
<div class="sm:col-span-3">
|
||||||
|
{% include "baseform/text.html" with field=form.voting %}
|
||||||
|
</div>
|
||||||
|
<div class="col-span-full">
|
||||||
|
{% include "baseform/textarea.html" with field=form.voting_text %}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</section>
|
||||||
</div>
|
<section class="flex justify-end">
|
||||||
|
<button type="submit" class="btn btn-primary w-full sm:w-auto" value="Absenden">Beschluss absenden</button>
|
||||||
|
</section>
|
||||||
|
</form>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -6,22 +6,33 @@
|
|||||||
<!-- Main Content -->
|
<!-- Main Content -->
|
||||||
<main class="container mx-auto w-full px-4 my-8 flex-1">
|
<main class="container mx-auto w-full px-4 my-8 flex-1">
|
||||||
<h1 class="page-title">Beschluss {{ object.id }}</h1>
|
<h1 class="page-title">Beschluss {{ object.id }}</h1>
|
||||||
<div class="w-full h-full flex-1 flex justify-center items-center">
|
|
||||||
<form action="" enctype="multipart/form-data" method="POST" class="w-full max-w-xs sm:max-w-prose sm:px-28 sm:py-4 grid grid-cols-1 gap-y-3 sm:gap-y-6 text-gray-900">
|
|
||||||
{% csrf_token %}
|
|
||||||
|
|
||||||
{% include "baseform/non_field_errors.html" %}
|
<form action="" enctype="multipart/form-data" method="POST" class="multiSectionForm max-w-2xl">
|
||||||
|
{% csrf_token %}
|
||||||
|
{% include "baseform/non_field_errors.html" %}
|
||||||
|
|
||||||
{% include "baseform/select.html" with field=form.option %}
|
<section>
|
||||||
{% include "baseform/text.html" with field=form.name %}
|
<div class="grid grid-cols-1 gap-x-6 gap-y-6 sm:grid-cols-6">
|
||||||
{% include "baseform/text.html" with field=form.date %}
|
<div class="sm:col-span-3">
|
||||||
{% include "baseform/text.html" with field=form.voting %}
|
{% include "baseform/select.html" with field=form.option %}
|
||||||
{% include "baseform/textarea.html" with field=form.voting_text %}
|
</div>
|
||||||
|
<div class="col-span-full">
|
||||||
<div class="flex flex-col-reverse sm:flex-row gap-3 justify-end pt-4 sm:pt-0">
|
{% include "baseform/text.html" with field=form.name %}
|
||||||
<input type="submit" class="block btn btn-primary" value="Speichern">
|
</div>
|
||||||
|
<div class="sm:col-span-3">
|
||||||
|
{% include "baseform/date.html" with field=form.date %}
|
||||||
|
</div>
|
||||||
|
<div class="sm:col-span-3">
|
||||||
|
{% include "baseform/text.html" with field=form.voting %}
|
||||||
|
</div>
|
||||||
|
<div class="col-span-full">
|
||||||
|
{% include "baseform/textarea.html" with field=form.voting_text %}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</section>
|
||||||
</div>
|
<section class="flex justify-end">
|
||||||
|
<button type="submit" class="btn btn-primary w-full sm:w-auto" value="Speichern">Änderung speichern</button>
|
||||||
|
</section>
|
||||||
|
</form>
|
||||||
</main>
|
</main>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user