2024-04-08 19:35:31 +02:00
|
|
|
{% import "includes/macros" as macros %}
|
|
|
|
{% import "includes/forms/boat" as boat %}
|
|
|
|
{% extends "base" %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="max-w-screen-lg w-full dark:text-white">
|
2024-05-21 18:57:24 +02:00
|
|
|
<h1 class="h1">Nachricht senden</h1>
|
2024-04-08 19:35:31 +02:00
|
|
|
<div class="grid ">
|
|
|
|
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5"
|
|
|
|
role="alert">
|
2024-05-21 18:57:24 +02:00
|
|
|
<h2 class="h2">Gruppe</h2>
|
2024-05-21 22:16:42 +02:00
|
|
|
<form action="/admin/notification/group"
|
|
|
|
method="post"
|
|
|
|
class="grid gap-3 p-3">
|
2024-04-08 19:35:31 +02:00
|
|
|
{{ macros::select(label="Gruppe", data=roles, name="role_id") }}
|
|
|
|
{{ macros::input(label="Überschrift", name="category", type="text", required=true) }}
|
|
|
|
{{ macros::input(label="Nachricht", name="message", type="text", required=true) }}
|
2024-04-17 10:56:22 +02:00
|
|
|
<input type="submit" class="btn btn-primary" value="Abschicken" />
|
2024-04-08 19:35:31 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
2024-05-21 18:57:24 +02:00
|
|
|
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5"
|
|
|
|
role="alert">
|
|
|
|
<h2 class="h2">Person</h2>
|
2024-05-21 22:16:42 +02:00
|
|
|
<form action="/admin/notification/user"
|
|
|
|
method="post"
|
|
|
|
class="grid gap-3 p-3">
|
2024-05-21 18:57:24 +02:00
|
|
|
{{ macros::select(label="Person", data=users, name="user_id") }}
|
|
|
|
{{ macros::input(label="Überschrift", name="category", type="text", required=true) }}
|
|
|
|
{{ macros::input(label="Nachricht", name="message", type="text", required=true) }}
|
|
|
|
<input type="submit" class="btn btn-primary" value="Abschicken" />
|
|
|
|
</form>
|
|
|
|
</div>
|
2024-04-08 19:35:31 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock content %}
|