@extends('layouts.page') @section('title') ALTTP Reports Create New @endsection @section('content') @include ('common.errors')
{!! Form::open(['url' => route('al_ttp_report_attachment.save', [$al_ttp_report->id]), 'files' => true, 'id' => 'idForm']) !!} @csrf {!! EasyForm::setErrors($errors) !!} {!! EasyForm::setColSizes(2, 10) !!}
Photos
All Photos should be only jpg , jpeg & png*
@for ($i = 0, $j = 1; $i < 10; $i++, $j++)
Warning: Undefined variable $i in /var/www/html/pruthvi/resources/views/al_ttp_report_attachment/create.blade.php on line 27
{{ EasyForm::file("attachment{$i}", "Photo - {$j}", old('', $file), ['required' => ($i == 0)]) }} @endfor
{!! EasyForm::submit('Submit') !!} {!! Form::close() !!}
@endsection