2024-01-01 15:50:06 +01:00
|
|
|
{% import "includes/macros" as macros %}
|
|
|
|
{% import "includes/forms/boat" as boat %}
|
|
|
|
{% extends "base" %}
|
|
|
|
{% block content %}
|
2024-03-15 15:29:50 +01:00
|
|
|
<div class="max-w-screen-lg w-full dark:text-white">
|
2024-03-04 13:28:42 +01:00
|
|
|
<h1 class="h1">Mail</h1>
|
2024-03-15 15:29:50 +01: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-04-17 10:54:07 +02:00
|
|
|
<h2 class="h2">Mail versenden</h2>
|
2024-04-17 13:04:03 +02:00
|
|
|
<form action="/admin/mail"
|
|
|
|
method="post"
|
|
|
|
enctype="multipart/form-data"
|
|
|
|
class="grid gap-3 p-3">
|
2024-03-15 15:29:50 +01:00
|
|
|
{{ macros::select(label="Gruppe", data=roles, name="role_id") }}
|
|
|
|
{{ macros::input(label="Betreff", name="subject", type="text", required=true) }}
|
2024-04-17 10:54:07 +02:00
|
|
|
<div class="">
|
2024-04-17 13:04:03 +02:00
|
|
|
<label for="content" class=" text-sm text-gray-600 dark:text-white ">Inhalt</label>
|
2024-04-17 10:54:07 +02:00
|
|
|
<textarea id="content" name="body" rows="4" cols="50" class="input rounded-md"></textarea>
|
|
|
|
</div>
|
2024-03-15 15:29:50 +01:00
|
|
|
<input type="file" name="files" multiple />
|
2024-04-17 10:54:07 +02:00
|
|
|
<input type="submit" class="btn btn-primary" value="Abschicken" />
|
2024-03-15 15:29:50 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-03-04 13:28:42 +01:00
|
|
|
</div>
|
2024-01-01 15:50:06 +01:00
|
|
|
{% endblock content %}
|