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

Marriage Options - {{$marriage_option ? 'Edit' : 'Add'}}

{{$marriage_option ? 'Edit' : 'Add'}} Marriage Option


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

{{ $error }}

@endforeach
@endif {!! Form::model($marriage_option, ['method' => $marriage_option ? 'PATCH' : 'POST','route' => $marriage_option ? ['admin.marriage-options.update', $marriage_option->id] : 'admin.marriage-options.store','id'=>'form_marriage-options']) !!}
{!! Form::label('english_names', 'Name', ['class' => 'form-label']) !!}
{!! Form::text('english_names', null, ['class' => 'form-control','required'=>true]) !!}
{!! Form::label('arabic_names', 'Name Arabic', ['class' => 'form-label']) !!}
{!! Form::text('arabic_names', null, ['class' => 'form-control','required'=>true]) !!}
{!! Form::submit($marriage_option ? 'Update' : 'Save', ['class' => 'btn btn-primary btn-cons','id' => 'btn-submit']) !!}
{!! Form::close() !!}
@endsection