add mail
This commit is contained in:
27
templates/admin/mail.html.tera
Normal file
27
templates/admin/mail.html.tera
Normal file
@ -0,0 +1,27 @@
|
||||
{% import "includes/macros" as macros %}
|
||||
{% import "includes/forms/boat" as boat %}
|
||||
|
||||
{% extends "base" %}
|
||||
|
||||
{% block content %}
|
||||
{% if flash %}
|
||||
{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
|
||||
{% endif %}
|
||||
|
||||
<div class="max-w-screen-lg w-full">
|
||||
<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>
|
||||
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user