28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
{% 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">
|
|
<h1 class="h1">Mail</h1>
|
|
<div class="grid ">
|
|
<div class="bg-white dark:bg-primary-900 text-black dark:text-white rounded-md block shadow mt-5"
|
|
role="alert">
|
|
<h2 class="h2">Mail versenden</h2>
|
|
<form action="/admin/mail" method="post" enctype="multipart/form-data" class="grid gap-3 p-3">
|
|
{{ macros::select(label="Gruppe", data=roles, name="role_id") }}
|
|
{{ macros::input(label="Betreff", name="subject", type="text", required=true) }}
|
|
<div class="">
|
|
<label for="content" class=" text-sm text-gray-600 dark:text-white ">
|
|
Inhalt
|
|
</label>
|
|
<textarea id="content" name="body" rows="4" cols="50" class="input rounded-md"></textarea>
|
|
</div>
|
|
|
|
<input type="file" name="files" multiple />
|
|
<input type="submit" class="btn btn-primary" value="Abschicken" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock content %}
|