97 lines
3.1 KiB
PHP
97 lines
3.1 KiB
PHP
|
<div class="row">
|
||
|
<div class="col-lg-8">
|
||
|
<div class="card">
|
||
|
<div class="card-body">
|
||
|
<div class="row gy-1">
|
||
|
<div class="col-md-12">
|
||
|
{{ html()->label('Title')->class('form-label') }}
|
||
|
{{ html()->text('title')->class('form-control')->placeholder('Enter Title')->required() }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-md-6">
|
||
|
{{ html()->label('Task Category')->class('form-label') }}
|
||
|
{{ html()->select('task_category_id', $categoryList)->class('form-control')->placeholder('Select Task Category')->required() }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-md-6">
|
||
|
{{ html()->label('Project')->class('form-label') }}
|
||
|
{{ html()->select('project_id', $projectList)->class('form-control')->placeholder('Select Project')->required() }}
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="col-md-12">
|
||
|
{{ html()->label('Assigned User')->class('form-label') }}
|
||
|
{{ html()->select('assigned_id', $memberList)->class('form-control')->placeholder('Select Assigned User')->required() }}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="card">
|
||
|
<div class="card-body">
|
||
|
<div class="row">
|
||
|
<div class="col-md-12">
|
||
|
{{ html()->label('Description')->class('form-label') }}
|
||
|
{{ html()->textarea('desc')->class('form-control')->placeholder('Enter Description...') }}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- end card body -->
|
||
|
</div>
|
||
|
<!-- end card -->
|
||
|
<div class="mb-3 text-end">
|
||
|
<a href="{{ route('task.index') }}" class="btn btn-danger w-sm">Cancel</a>
|
||
|
<button type="submit" class="btn btn-success w-sm">Save</button>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- end col -->
|
||
|
|
||
|
<div class="col-lg-4">
|
||
|
<div class="card">
|
||
|
<div class="card-header">
|
||
|
<h5 class="card-title mb-0">Publish</h5>
|
||
|
</div>
|
||
|
<div class="card-body">
|
||
|
<div class="row">
|
||
|
<div class="col-md-12">
|
||
|
{{ html()->label('Status')->class('form-label') }}
|
||
|
{{ html()->select('status', $status)->class('form-control')->required() }}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- end card body -->
|
||
|
</div>
|
||
|
<!-- end card -->
|
||
|
|
||
|
<div class="card">
|
||
|
<div class="card-header">
|
||
|
<h5 class="card-title mb-0">Date</h5>
|
||
|
</div>
|
||
|
<div class="card-body">
|
||
|
<div class="row">
|
||
|
<div class="col-md-12">
|
||
|
{{ html()->label('Priority')->class('form-label') }}
|
||
|
{{ html()->select('priority', $status)->class('form-control')->required() }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-md-12">
|
||
|
{{ html()->label('Start Date')->class('form-label') }}
|
||
|
{{ html()->date('start_date')->class('form-control')->placeholder('Choose Start Date') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-md-12">
|
||
|
{{ html()->label('Due Date')->class('form-label') }}
|
||
|
{{ html()->date('due_date')->class('form-control')->placeholder('Choose Due Date') }}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- end card body -->
|
||
|
</div>
|
||
|
<!-- end card -->
|
||
|
|
||
|
|
||
|
</div>
|
||
|
<!-- end col -->
|
||
|
</div>
|