  <div class="max-w-2xl mx-auto px-4 py-6 space-y-6">
    <div class="flex flex-col md:flex-row gap-3 items-start">
      <form
        hx-post="{{ url_for('settings.cache_clear') }}"
        hx-trigger="submit"
        hx-target="#cache-status"
        hx-swap="innerHTML"
      >
        <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
        <button class="border rounded px-4 py-2 bg-stone-800 text-white text-sm" type="submit">Clear cache</button>
      </form>
      <div id="cache-status" class="py-2"></div>
    </div>
  </div>
