rowt/templates/admin/mail.html.tera
philipp 730559f2f4
All checks were successful
CI/CD Pipeline / test (push) Successful in 9m49s
CI/CD Pipeline / deploy-staging (push) Successful in 4m35s
CI/CD Pipeline / deploy-main (push) Has been skipped
a bit nicer mail sending layout
2024-03-15 15:29:50 +01:00

22 lines
1022 B
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 senden</h2>
<form action="/admin/mail" method="post" enctype="multipart/form-data">
{{ macros::select(label="Gruppe", data=roles, name="role_id") }}
{{ macros::input(label="Betreff", name="subject", type="text", required=true) }}
<textarea name="body" rows="4" cols="50" class="dark:text-white"></textarea>
<input type="file" name="files" multiple />
<input type="submit" value="Abschicken" />
</form>
</div>
</div>
</div>
{% endblock content %}