Files
2026-09-21 10:14:57 +01:00

31 lines
1.6 KiB
PHP
Executable File

<x-layouts::app :title="__('Edit Price')">
<div class="space-y-6">
<x-wms.page-hero eyebrow="Administration" :title="'Edit ' . $price->name"
description="Update pricing, feature text and card visibility while keeping the platform pricing display consistent."
icon="fa-solid fa-pen-to-square">
<a href="{{ route('platform.prices.index') }}" wire:navigate
class="rounded-xl bg-white px-4 py-3 text-sm font-bold text-slate-950 shadow-lg hover:bg-cyan-50">
Back to prices
</a>
</x-wms.page-hero>
<section class="rounded-3xl border border-zinc-200 bg-white p-6 shadow-sm dark:border-zinc-800 dark:bg-zinc-900">
<form method="POST" action="{{ route('platform.prices.update', $price) }}" class="space-y-6">
@csrf
@method('PUT')
@include('platform::prices._form')
<div class="flex flex-wrap justify-end gap-3 border-t border-zinc-100 pt-5 dark:border-zinc-800">
<a href="{{ route('platform.prices.index') }}" wire:navigate
class="rounded-xl border border-zinc-200 px-5 py-3 text-sm font-semibold text-zinc-700 dark:border-zinc-700 dark:text-zinc-200">
Cancel
</a>
<button type="submit"
class="rounded-xl bg-cyan-600 px-5 py-3 text-sm font-bold text-white shadow-lg shadow-cyan-950/20 hover:bg-cyan-500">
Save changes
</button>
</div>
</form>
</section>
</div>
</x-layouts::app>