{% import "includes/macros" as macros %} {% import "includes/forms/boat" as boat %} {% extends "base" %} {% block content %} {% 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 %}