18 lines
580 B
HTML
18 lines
580 B
HTML
{#
|
||
SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
|
||
|
||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||
#}
|
||
|
||
{% extends "base.html" %}
|
||
{% block title %}{% block page_title %}Add Item{% endblock %} – {{ branding }}{% endblock %}
|
||
{% block main %}
|
||
<form method="POST">
|
||
<div class="mb-3">
|
||
<label for="name" class="form-label">Name</label>
|
||
<input type="text" class="form-control" id="name" name="name" required{% if let Some(data) = data %} value="{{ data.name }}"{% endif %}>
|
||
</div>
|
||
<button type="submit" class="btn btn-primary">Add</button>
|
||
</form>
|
||
{% endblock %}
|