12345678910111213141516171819202122232425262728293031323334 |
- {% extends "layout.html" %}
- {% block content %}
- <h2>Mitgestalten</h2>
- <form action="/mitgestalten" method="post" >
- <div class="mb-3">
- <label for="fullname" class="form-label mb-1">Name</label>
- <input type="text" class="form-control" id="fullname" name="fullname">
- </div>
- <div class="mb-3">
- <label for="email" class="form-label mb-1">Email-Adresse</label>
- <input type="email" class="form-control" id="email" name="email">
- </div>
- <div class="mb-3">
- <label for="message" class="form-label mb-1">Deine Wünsche, Ideen und Anregungen für <em>Nach & Nach</em>:</label>
- <textarea class="form-control" id="message" name="message" rows="3"></textarea>
- </div>
- <button type="submit" class="btn btn-success mb-3">Senden</button>
- </form>
- {% with messages = get_flashed_messages(with_categories=true) %}
- {% if messages %}
- {% for category, message in messages %}
- <div class="alert alert-{{ category }} alert-dismissible" role="alert">
- {{ message }}
- <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
- </div>
- {% endfor %}
- {% endif %}
- {% endwith %}
- {% endblock %}
|