@if ($record->is_active)
    <div moe class="mr-2">
        <a href="" start show>Deactivate</a>
        <form url="/api/customer/deactivate" class="mcp-theme-1" right>
            <p class="mb-2 text-nowrap">Deactivate this customer?</p>
            <input type="hidden" name="uid" value="{{ $record->uid }}">
            <div>
                <button submit class="btn btn-sm btn-primary mr-2">Submit</button>
                <button cancel class="btn btn-sm btn-default border">Cancel</button>
            </div>
        </form>
    </div>
@else
    <div moe class="mr-2">
        <a href="" start show>Reactivate</a>
        <form url="/api/customer/reactivate" class="mcp-theme-1" right>
            <p class="mb-2 text-nowrap">Reactivate this customer?</p>
            <input type="hidden" name="uid" value="{{ $record->uid }}">
            <div>
                <button submit class="btn btn-sm btn-primary mr-2">Submit</button>
                <button cancel class="btn btn-sm btn-default border">Cancel</button>
            </div>
        </form>
    </div>
@endif
