feat: add comprehensive GitHub workflow and development tools
This commit is contained in:
38
app/templates/stiftung/destinataer_notiz_form.html
Normal file
38
app/templates/stiftung/destinataer_notiz_form.html
Normal file
@@ -0,0 +1,38 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}{{ title }}{% endblock %}
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-lg-8">
|
||||
<div class="card shadow">
|
||||
<div class="card-header bg-primary text-white"><h5 class="mb-0">{{ title }}</h5></div>
|
||||
<div class="card-body">
|
||||
<form method="post" enctype="multipart/form-data">{% csrf_token %}
|
||||
{% if form.non_field_errors %}
|
||||
<div class="alert alert-danger">{{ form.non_field_errors }}</div>
|
||||
{% endif %}
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="{{ form.titel.id_for_label }}">{{ form.titel.label }}</label>
|
||||
{{ form.titel }}
|
||||
{{ form.titel.errors }}
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="{{ form.text.id_for_label }}">{{ form.text.label }}</label>
|
||||
{{ form.text }}
|
||||
{{ form.text.errors }}
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="{{ form.datei.id_for_label }}">{{ form.datei.label }}</label>
|
||||
{{ form.datei }}
|
||||
{{ form.datei.errors }}
|
||||
</div>
|
||||
<div class="d-flex justify-content-between">
|
||||
<a href="{% url 'stiftung:destinataer_detail' pk=destinataer.pk %}" class="btn btn-outline-secondary">Abbrechen</a>
|
||||
<button type="submit" class="btn btn-primary">Speichern</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user