Files
fitguide/app/templates/admin/attachment_point_names.html
T

22 lines
656 B
HTML

{% extends "base.html" %}
{% block title %}Attachment Point Names · {{ app_name }}{% endblock %}
{% block body %}
{% include "_nav.html" %}
<main class="container">
<h1>Attachment Point Names</h1>
<div class="card">
<h2>Add attachment point name</h2>
<form hx-post="/admin/attachment-point-names"
hx-target="#attachment-point-name-list"
hx-swap="outerHTML"
class="form-grid">
<label>Name <input type="text" name="name" required></label>
<button type="submit" class="btn btn-primary">Add</button>
</form>
</div>
{% include "admin/_attachment_point_names_table.html" %}
</main>
{% endblock %}