@extends('layouts.app') @section('page-title')

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@lang('modules.tasks.newTask')
{!! Form::open(['id'=>'storeTask','class'=>'ajax-form','method'=>'POST']) !!}
id ?? ''}}>
@if(in_array('projects', $modules))
@endif
dependent_task_id != '') checked @endif @endif>
dependent_task_id == null)style="display: none" @endif @else style="display: none" @endif>
due_date == null) checked @endif @endif name="without_duedate" value="true" type="checkbox">
is_private) checked @endif @endif type="checkbox">
@if(sizeof($fields) > 0)

@lang('modules.projects.otherInfo')

@foreach($fields as $field)
@if( $field->type == 'text') @elseif($field->type == 'password') @elseif($field->type == 'number') @elseif($field->type == 'textarea') @elseif($field->type == 'radio')
@foreach($field->values as $key=>$value) @endforeach
@elseif($field->type == 'select') {!! Form::select('custom_fields_data['.$field->name.'_'.$field->id.']', $field->values, isset($editUser)?$editUser->custom_fields_data['field_'.$field->id]:'',['class' => 'form-control gender']) !!} @elseif($field->type == 'checkbox')
@foreach($field->values as $key => $value) @endforeach
@elseif($field->type == 'date') @endif
@endforeach
@endif
@if($upload)
{{ csrf_field() }}
@else
@lang('messages.storageLimitExceed', ['here' => 'Here'])
@endif
@if(isset($taskRequests))
    @forelse($taskRequests->files as $file)
  • {{ $file->filename }}
    @if(is_null($file->external_link))    @endif    {{ $file->created_at->diffForHumans() }}
  • @empty
  • @lang('messages.noFileUploaded')
  • @endforelse
@endif
{!! Form::close() !!}
{{--Ajax Modal--}} {{--Ajax Modal Ends--}} {{--Ajax Modal Ends--}} @endsection @push('footer-script') @endpush