29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% load static %}
|
|
|
|
{% block title %}{{ object.title }} bearbeiten{% endblock %}
|
|
|
|
{% block content %}
|
|
<!-- Main Content -->
|
|
<main class="container mx-auto w-full px-4 my-8 flex-1">
|
|
<h1 class="page-title">{{ object.title }} von {{ object.date }} bearbeiten</h1>
|
|
<div class="w-full h-full flex-1 flex justify-center items-center">
|
|
<form action="" method="POST" class="w-full 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" %}
|
|
|
|
{% include "baseform/date_time.html" with field=form.event_start %}
|
|
{% include "baseform/date_time.html" with field=form.event_end %}
|
|
{% include "baseform/text.html" with field=form.event_place %}
|
|
|
|
<div class="flex flex-col-reverse sm:flex-row gap-3 justify-end pt-4 sm:pt-0">
|
|
<a href="{% url 'admin:posts_fetmeeting_change' object.id %}" class="block btn btn-secondary-proprietary">Fachschaftssitzung im Admin bearbeiten</a>
|
|
<input type="submit" class="block btn btn-primary" value="Speichern">
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
{% endblock content %}
|