rowt/templates/admin/boat/index.html.tera

12 lines
465 B
Plaintext
Raw Normal View History

{% import "includes/macros" as macros %}
2023-07-26 12:56:19 +02:00
{% import "includes/forms/boat" as boat %}
{% extends "base" %}
{% block content %}
2024-03-04 13:28:42 +01:00
{% if flash %}{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}{% endif %}
<div class="max-w-screen-lg w-full">
<h1 class="h1">Boats</h1>
{{ boat::new() }}
{% for boat in boats %}{{ boat::edit(boat=boat, uuid=loop.index) }}{% endfor %}
</div>
{% endblock content %}