<form method="post" action="{{ path('admin_toggle_location_status', {'id': location.id }) }}" onsubmit="return confirm('Are you sure you want to change status active this item?');">
    <input type="hidden" name="_token" value="{{ csrf_token('toggle' ~ location.id) }}">
    <button class="btn btn-primary mb-1">{{ location.active ? 'Disable' : 'Enable' }}</button>
</form>
