Files
flowers/templates/create.html
T

24 lines
1.2 KiB
HTML
Raw Normal View History

2025-03-25 20:32:26 +00:00
{% extends "common.html" %}
2026-07-18 21:16:07 +02:00
{% block title %}Create a bouquet · Flowers{% endblock %}
2026-07-18 20:27:19 +02:00
{% block menuoptions %}<a class="text-link" href="{{ url_for('flower_vase.index') }}">Sign in</a>{% endblock %}
2025-03-25 20:32:26 +00:00
{% block content %}
2026-07-18 20:27:19 +02:00
<section class="auth-layout">
<div class="intro">
2026-07-18 21:16:07 +02:00
<p class="eyebrow">New bouquet</p>
<h1>Create a bouquet</h1>
2026-07-18 20:27:19 +02:00
<p>This uses the existing Flowers database structure so it remains readable by compatible installations.</p>
</div>
<form class="card form-card" action="{{ url_for('flower_vase.create') }}" method="post">
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
2026-07-18 21:16:07 +02:00
<h2>New bouquet</h2>
2026-07-18 20:27:19 +02:00
{% if message %}<p class="field-error">{{ message }}</p>{% endif %}
<label for="name">Username</label>
<input maxlength="31" id="name" name="name" type="text" pattern="[A-Za-z0-9_]+" autocomplete="username" required>
<label for="password">Password</label>
<input maxlength="43" id="password" name="password" type="password" pattern="[A-Za-z0-9_+/-]+" autocomplete="new-password" required>
<p class="field-help">Use Base64-compatible characters for legacy encryption compatibility.</p>
2026-07-18 21:16:07 +02:00
<button class="button primary" type="submit">Create bouquet</button>
2026-07-18 20:27:19 +02:00
</form>
</section>
{% endblock %}