2024-03-01 08:50:33 +01:00
|
|
|
{% extends 'layouts/main.html' %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2024-03-01 10:30:41 +01:00
|
|
|
<div class="card bg-light mt-4 p-5">
|
|
|
|
|
<h1>{{ habit_list.name }}: {{ title }}</h1>
|
|
|
|
|
<p>Lade Nutzer per ihrer E-Mail-Adresse ein</p>
|
2024-03-01 08:50:33 +01:00
|
|
|
|
2024-03-01 10:30:41 +01:00
|
|
|
<form action="/users" method="POST">
|
|
|
|
|
<div class="mb-3">
|
|
|
|
|
<label for="email" class="form-label">E-Mail</label>
|
|
|
|
|
<input type="text" placeholder="beispiel@cimeyclust.com"
|
|
|
|
|
class="form-control {% if errors.get('email') %} is-invalid {% endif %}" id="email" name="email"
|
|
|
|
|
value="{{email}}">
|
|
|
|
|
<div class="invalid-feedback">
|
|
|
|
|
{{ errors.get('email', '') }}
|
|
|
|
|
</div>
|
2024-03-01 08:50:33 +01:00
|
|
|
</div>
|
|
|
|
|
|
2024-03-01 10:30:41 +01:00
|
|
|
<input hidden="hidden" name="habit_list_id" value="{{ habit_list.id }}">
|
2024-03-01 08:50:33 +01:00
|
|
|
|
2024-03-01 10:30:41 +01:00
|
|
|
<!-- submit button -->
|
|
|
|
|
<button type="submit" class="btn btn-primary">Einladen</button>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
2024-03-01 08:50:33 +01:00
|
|
|
{% endblock %}
|