Files
FireworksApp/members/templates/hello-form.html
T

29 lines
912 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% load vite %}
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello</title>
{% vite_asset "frontend/src/entries/member-form.js" %}
</head>
<body>
<main class="card">
<p class="eyebrow"><span class="sparkle">✦</span> A warm welcome</p>
<h1>What’s your name?</h1>
<p class="intro">Enter your name below and we’ll say hello.</p>
<form method="post" novalidate>
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Save</button>
</form>
{% if message %}
<p class="result" role="status">{{ message }}</p>
{% endif %}
<br/>
<a href="{% url 'member_list' %}" class="button">Toon leden <span aria-hidden="true">→</span></a>
</main>
</body>
</html>