{{ Form::open(['route' => ['projects.tasks.create',$project_id,$stage_id],'id' => 'create_task']) }}
{{ Form::label('name', __('Task name'),['class' => 'form-label']) }} {{ Form::text('name', null, ['class' => 'form-control','required'=>'required']) }}
{{ Form::label('milestone_id', __('Milestone'),['class' => 'form-label']) }}
{{ Form::label('description', __('Description'),['class' => 'form-label']) }} {{__('This textarea will autosize while you type')}} {{ Form::textarea('description', null, ['class' => 'form-control','rows'=>'1','data-toggle' => 'autosize']) }}
{{ Form::label('estimated_hrs', __('Estimated Hours'),['class' => 'form-label']) }} {{__('Total hrs of project ').$hrs['total'].__(' & allocated total ').$hrs['allocated'].__(' hrs in other tasks')}} {{ Form::number('estimated_hrs', null, ['class' => 'form-control','required' => 'required','min'=>'0','maxlength' => '8']) }}
{{ Form::label('priority', __('Priority'),['class' => 'form-label']) }} {{__('Set Priority of your task')}}
{{ Form::label('start_date', __('Start Date'),['class' => 'form-label']) }} {{ Form::date('start_date', null, ['class' => 'form-control']) }}
{{ Form::label('end_date', __('End Date'),['class' => 'form-label']) }} {{ Form::date('end_date', null, ['class' => 'form-control']) }}
{{__('Below users are assigned in your project.')}}
@foreach($project->users as $user)

{{ $user->name }}

{{ $user->email }}

@endforeach
{{ Form::hidden('assign_to', null) }}
{{ Form::button(__('Save'), ['type' => 'submit','class' => 'btn btn-sm btn-primary rounded-pill']) }}
{{ Form::close() }}