@if (isset($photo))
{!! Form::model($photo, ['route' => ['photos.update', $branch->id, $photo->id], 'class' => 'photo-form', 'enctype' => 'multipart/form-data', 'accept-charset' => 'UTF-8']) !!}
@method('PUT')
@else
{!! Form::open(['route' => ['photos.store', $branch->id], 'class' => 'photo-form', 'enctype' => 'multipart/form-data', 'accept-charset' => 'UTF-8']) !!}
@endif
{!! Form::label('title', __('custom.attribute.title')) !!}
{!! Form::text('title', null, ['class' => 'form-control']) !!}
{!! Form::close() !!}