30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
{% load i18n vite %}
|
||
<!DOCTYPE html>
|
||
<html lang="{{ request.LANGUAGE_CODE|default:'en' }}" data-theme="dark">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>{% trans "Hello" %}</title>
|
||
{% vite_asset "frontend/src/entries/member-form.js" %}
|
||
{% include "js_translations.html" %}</head>
|
||
<body>
|
||
<main class="card">
|
||
<p class="eyebrow"><span class="sparkle">✦</span> {% trans "A warm welcome" %}</p>
|
||
<h1>{% trans "What’s your name?" %}</h1>
|
||
<p class="intro">{% trans "Enter your name below and we’ll say hello." %}</p>
|
||
|
||
<form method="post" novalidate>
|
||
{% csrf_token %}
|
||
{{ form.as_p }}
|
||
<button type="submit">{% trans "Save" %}</button>
|
||
</form>
|
||
|
||
{% if message %}
|
||
<p class="result" role="status">{{ message }}</p>
|
||
{% endif %}
|
||
<br/>
|
||
<a href="{% url 'member_list' %}" class="button">{% trans "Show members" %} <span aria-hidden="true">→</span></a>
|
||
</main>
|
||
</body>
|
||
</html>
|