@extends('admin.layouts.app') @section('title',$plan->exists?'Edit Plan':'Create Plan') @section('content')

{{ $plan->exists?'Edit Plan':'Create Plan' }}

@csrf @if($plan->exists)@method('PUT')@endif @foreach(['name'=>'Plan name','slug'=>'Unique slug','price_cents'=>'Price in cents (e.g. 999 = $9.99)','currency'=>'Currency code','duration_days'=>'Duration in days'] as $field=>$label)@endforeach
Cancel
@endsection