vergabe-teilnahme/vergabe_teilnahme/templates/nachbetrachtung/abgabe_formular.html

43 lines
1.6 KiB
HTML
Raw Normal View History

{% extends "base.html" %}
{% block title %}Abgabe dokumentieren — {{ ausschreibung.titel }}{% endblock %}
{% block content %}
<div class="flex items-center justify-between mb-4">
<h1 class="page-title">Abgabe dokumentieren</h1>
<a href="{% url 'ausschreibungen:abgabe:checkliste' ausschreibung.pk %}" class="btn-ghost text-xs">← Checkliste</a>
</div>
<div class="max-w-xl">
<form method="post" enctype="multipart/form-data" class="card space-y-4">
{% csrf_token %}
<div>
<label class="form-label">{{ form.abgabe_zeitpunkt.label }}</label>
{{ form.abgabe_zeitpunkt }}
{% if form.abgabe_zeitpunkt.errors %}<p class="text-xs text-red-600 mt-1">{{ form.abgabe_zeitpunkt.errors.0 }}</p>{% endif %}
</div>
<div>
<label class="form-label">{{ form.abgabe_plattform.label }}</label>
{{ form.abgabe_plattform }}
</div>
<div>
<label class="form-label">{{ form.verantwortlicher.label }}</label>
{{ form.verantwortlicher }}
</div>
<div>
<label class="form-label">{{ form.abgabenachweis.label }}</label>
{{ form.abgabenachweis }}
<p class="text-xs text-slate-400 mt-1">Eingangsbestätigung, Screenshot o.ä.</p>
</div>
<div>
<label class="form-label">{{ form.kommentar.label }}</label>
{{ form.kommentar }}
</div>
<div class="flex gap-3 pt-2">
<button type="submit" class="btn-primary">Abgabe bestätigen</button>
<a href="{% url 'ausschreibungen:abgabe:checkliste' ausschreibung.pk %}" class="btn-ghost">Abbrechen</a>
</div>
</form>
</div>
{% endblock %}