@if(isset($todo))
{{ method_field('PATCH') }} @csrf @else @csrf @endif @php $auth = \Auth::user(); @endphp
{{ $errors->first('priority') }}
{{ $errors->first('due_on') }}
@if($auth->role->roleName->role == 'admin' || (isset($todo) && $todo->board->created_by == $auth->id))
@endif
is_complete == "1" ? 'checked' : ''}}>
@if($auth->role->roleName->role == 'admin')
is_checked == "1" ? 'checked' : ''}}>
is_active == "1" ? 'checked' : ''}}>
@else @endif