@extends('app') @section('content') @if($wedding_type) {!! Breadcrumbs::render('admin.wedding-types.edit', $wedding_type) !!} @else {!! Breadcrumbs::render('admin.wedding-types.create') !!} @endif

Wedding Types - {{$wedding_type ? 'Edit' : 'Add'}}

{{$wedding_type ? 'Edit' : 'Add'}} Wedding Type


@if($errors->any())
@foreach($errors->all() as $error)

{{ $error }}

@endforeach
@endif {!! Form::model($wedding_type, ['method' => $wedding_type ? 'PATCH' : 'POST','route' => $wedding_type ? ['admin.wedding-types.update', $wedding_type->id] : 'admin.wedding-types.store','id'=>'form_wedding-types']) !!}
{!! Form::label('name', 'Name', ['class' => 'form-label']) !!}
{!! Form::text('name', null, ['class' => 'form-control','required'=>true]) !!}
{!! Form::label('name_arabic', 'Name Arabic', ['class' => 'form-label']) !!}
{!! Form::text('name_arabic', null, ['class' => 'form-control','required'=>true]) !!}
{!! Form::submit($wedding_type ? 'Update' : 'Save', ['class' => 'btn btn-primary btn-cons','id' => 'btn-submit']) !!}
{!! Form::close() !!}
@endsection