@extends('layouts.app') @section('content')
{{ __('custom.attribute.photos') }}
@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::label('photo', __('custom.attribute.photo')) !!}
{!! Form::file('file_name', ['id' => 'branch-photo']) !!}
{!! Form::close() !!}
@endsection