2023-07-22 13:57:17 +02:00
|
|
|
{% import "includes/macros" as macros %}
|
2023-07-26 12:56:19 +02:00
|
|
|
{% import "includes/forms/boat" as boat %}
|
2023-07-22 13:57:17 +02:00
|
|
|
|
|
|
|
{% extends "base" %}
|
|
|
|
|
|
|
|
{% block content %}
|
2023-10-24 14:44:31 +02:00
|
|
|
{% if flash %}
|
|
|
|
{{ macros::alert(message=flash.1, type=flash.0, class="sm:col-span-2 lg:col-span-3") }}
|
|
|
|
{% endif %}
|
2023-07-22 13:57:17 +02:00
|
|
|
|
2023-07-30 14:33:50 +02:00
|
|
|
<div class="max-w-screen-lg w-full">
|
|
|
|
<h1 class="h1">Boats</h1>
|
|
|
|
{{ boat::new() }}
|
2023-07-22 13:57:17 +02:00
|
|
|
|
2023-09-28 16:40:05 +02:00
|
|
|
{% for boat in boats %}
|
|
|
|
{{ boat::edit(boat=boat, uuid=loop.index) }}
|
|
|
|
{% endfor %}
|
2023-07-30 14:33:50 +02:00
|
|
|
|
|
|
|
</div>
|
2023-07-22 13:57:17 +02:00
|
|
|
|
|
|
|
{% endblock content %}
|