28 lines
1.9 KiB
PHP
28 lines
1.9 KiB
PHP
<x-layouts::app :title="__('Edit Price')">
|
|
<div class="space-y-6">
|
|
<section class="overflow-hidden rounded-3xl bg-gradient-to-br from-slate-950 via-slate-900 to-cyan-950 p-5 text-white shadow-xl sm:p-6">
|
|
<div class="flex flex-col gap-5 lg:flex-row lg:items-center lg:justify-between">
|
|
<div>
|
|
<p class="text-xs font-semibold uppercase tracking-[0.28em] text-cyan-300">Administration</p>
|
|
<h1 class="mt-2 text-2xl font-bold tracking-tight sm:text-3xl">Edit {{ $price->name }}</h1>
|
|
<p class="mt-2 max-w-2xl text-sm leading-6 text-slate-300">Update the pricing card, feature list and visibility settings without changing the rest of the platform.</p>
|
|
</div>
|
|
<a href="{{ route('platform.prices.index') }}" wire:navigate class="rounded-xl border border-white/15 bg-white/10 px-4 py-2 text-sm font-semibold text-white backdrop-blur hover:bg-white/15">Back to prices</a>
|
|
</div>
|
|
</section>
|
|
|
|
<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>
|