19 lines
561 B
HTML
19 lines
561 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Part Colours · {{ app_name }}{% endblock %}
|
|
{% block body %}
|
|
{% include "_nav.html" %}
|
|
<main class="container">
|
|
<h1>Part Colours</h1>
|
|
|
|
<div class="card">
|
|
<h2>Add colour</h2>
|
|
<form hx-post="/admin/part-colours" hx-target="#part-colour-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/_part_colours_table.html" %}
|
|
</main>
|
|
{% endblock %}
|