a bit nicer mail sending layout
This commit is contained in:
@ -2,16 +2,20 @@
|
||||
{% import "includes/forms/boat" as boat %}
|
||||
{% extends "base" %}
|
||||
{% block content %}
|
||||
<div class="max-w-screen-lg w-full">
|
||||
<div class="max-w-screen-lg w-full dark:text-white">
|
||||
<h1 class="h1">Mail</h1>
|
||||
<form action="/admin/mail" method="post" enctype="multipart/form-data">
|
||||
<select name="role_id">
|
||||
{% for role in roles %}<option value="{{ role.id }}">{{ role.name }}</option>{% endfor %}
|
||||
</select>
|
||||
<input type="text" name="subject" />
|
||||
<textarea name="body" rows="4" cols="50"></textarea>
|
||||
<input type="file" name="files" multiple />
|
||||
<input type="submit" />
|
||||
</form>
|
||||
<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 %}
|
||||
|
Reference in New Issue
Block a user