Compare commits

..

2 Commits

Author SHA1 Message Date
2ab164d5b9 Merge pull request 'a bit nicer mail sending layout' (#267) from staging into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m27s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 4m29s
Reviewed-on: #267
2024-03-15 15:30:28 +01:00
730559f2f4 a bit nicer mail sending layout
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
2024-03-15 15:29:50 +01:00
2 changed files with 14 additions and 11 deletions

View File

@ -234,7 +234,6 @@ Dein Vereinsbeitrag für das aktuelle Jahr beträgt {}€",
}
content.push_str("\n\
Gemäß § 7 Abs. 3 lit. c unseres Status behalten wir uns vor, bei ausbleibender Zahlung die Mitgliedschaft zu beenden. Dies möchten wir vermeiden und hoffen auf deine Unterstützung.\n\n\
Bei Fragen oder Problemen stehen wir gerne zur Verfügung.
Bankverbindung: IBAN: AT13 1200 0804 1300 1200 (Unter https://app.rudernlinz.at/planned findest du einen QR Code, den du mit deiner Bankapp scannen kannst um alle Eingaben bereits ausgefüllt zu haben.)

View File

@ -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 %}