@extends('app') @section('content') @if($branch) {!! Breadcrumbs::render('admin.branches.edit', $branch) !!} @else {!! Breadcrumbs::render('admin.branches.create') !!} @endif

Branches - {{$branch ? 'Edit' : 'Add'}}

{{$branch ? 'Edit' : 'Add'}} Branch


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

{{ $error }}

@endforeach
@endif {!! Form::model($branch, ['method' => $branch ? 'PATCH' : 'POST','route' => $branch ? ['admin.branches.update', $branch->id] : 'admin.branches.store','id'=>'form_branches','files'=>true]) !!}
{!! Form::label('english_branch', 'Name', ['class' => 'form-label']) !!}
{!! Form::text('english_branch', null, ['class' => 'form-control','required'=>true]) !!}
{!! Form::label('arabic_branch', 'Name Arabic', ['class' => 'form-label']) !!}
{!! Form::text('arabic_branch', null, ['class' => 'form-control','required'=>true]) !!}
{{--*/ $return = $branch ? $branch->image : false /*--}}
Select image Change {!! Form::file('image', ['class' => '']) !!} Crop Remove
Max allowed size: 1024KB
Allowed Cropping AreaAllowed Cropping area is proportion of 600x4000px
NOTE! Attached image thumbnail is supported in Latest Firefox, Chrome, Opera, Safari and Internet Explorer 10 only
{!! Form::submit('Update', ['class' => 'btn btn-primary btn-cons','id' => 'btn-submit']) !!}
{!! Form::close() !!}
@endsection