@lang('modules.templateTasks.updateTask')
{!! Form::open(['id'=>'updateTask','class'=>'ajax-form','method'=>'PUT']) !!} {!! Form::hidden('project_id', $task->project_id) !!}
@lang('app.heading')
@lang('modules.tasks.taskCategory')
@forelse($categories as $category)
project_template_task_category_id == $category->id) selected @endif >{{ ucwords($category->category_name) }}
@empty
@lang('messages.noTaskCategoryAdded')
@endforelse
@lang('app.description')
{{ $task->description }}
@lang('modules.templateTasks.assignTo')
@if(is_null($task->project_id)) @foreach($task->projectTemplate->members as $member) @php $selected = ''; @endphp @foreach ($task->users as $item) @if($item->user_id == $member->user->id) @php $selected = 'selected'; @endphp @endif @endforeach
{{ ucwords($member->user->name) }}
@endforeach @else @foreach($task->projectTemplate->members as $member) @php $selected = ''; @endphp @foreach ($task->users as $item) @if($item->user_id == $member->user->id) @php $selected = 'selected'; @endphp @endif @endforeach
{{ $member->user->name }}
@endforeach @endif
@lang('modules.templateTasks.priority')
priority == 'high') checked @endif value="high">
@lang('modules.templateTasks.high')
priority == 'medium') checked @endif id="radio14" value="medium">
@lang('modules.templateTasks.medium')
priority == 'low') checked @endif value="low">
@lang('modules.templateTasks.low')
@lang('app.save')
{!! Form::close() !!}