@if (isset($label)) @if ($attributes['disabled']) @if (!empty($files) && count($files) > 0) {!! Form::label("input-file-$id", $label) !!} @endif @else {!! Form::label("input-file-$id", $label) !!} @endif @endif @if (!$attributes['disabled'])
merge([ 'type' => 'file', 'name' => $name, 'class' => 'custom-file-input', 'id' => "input-file-$id" ]) }} /> {!! Form::label("input-file-$id", 'Choose file', ['class' => 'custom-file-label']) !!}
{{ isset($error) && !empty($error) ? $error : "" }} @endif @if (isset($oldFileId) && isset($oldFileName)) @endif @if (!empty($files) && count($files) > 0)
Show file{{ count($files) > 1 ? 's' : ''}}
@endif