Edit Project
@if ($errors->any())
@endif
{!! Form::close() !!}
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{!! Form::label('title', 'Title *', ['for' => 'title']) !!}
{!! Form::text('title',$title,['class'=>'form-control','placeholder'=>'Enter Project Title','autofocus'=>true]) !!}
@if($errors->has('title'))
{{ $errors->first('title') }}
@else
@enderror
{!! Form::label('start_date', 'Start Date *', ['for' => 'start_date']) !!}
{!! Form::text('start_date',$start_date,['class'=>'form-control datetimepicker-input','data-target'=>'#startdate']) !!}
@if($errors->has('start_date'))
{{ $errors->first('start_date') }}
@else
@enderror
{!! Form::label('end_date', 'End Date *', ['for' => 'end_date']) !!}
{!! Form::text('end_date',$end_date,['class'=>'form-control datetimepicker-input','data-target'=>'#enddate']) !!}
@if($errors->has('end_date'))
{{ $errors->first('end_date') }}
@else
@enderror
{!! Form::label('description', 'Project Details *', ['for' => 'description']) !!}
{!! Form::textarea('description',$description,['class'=>'form-control','placeholder'=>'Enter Project Details']) !!}
@if($errors->has('description'))
{{ $errors->first('description') }}
@else
@enderror
{!! Form::label('document_path', 'Project Document *', ['for' => 'description']) !!}
{!! Form::file('document_path',['class'=>'custom-file-input']) !!}
{!! Form::label('document_path', 'Choose file', ['class' => 'custom-file-label']) !!}