{% extends 'lara_django_base/lara_base.html' %}

{% block content %}
{# Shell: renders a loading placeholder; htmx swaps in the iframe once the page is ready. #}
<div
  hx-get="{{ request.path }}"
  hx-trigger="load"
  hx-target="this"
  hx-swap="outerHTML"
  class="w-full h-[80vh] flex items-center justify-center rounded border bg-base-200"
  aria-label="Loading {{ title }}…"
>
  <span class="loading loading-spinner loading-lg text-primary"></span>
</div>
{% endblock content %}
