21 lines
1005 B
PHP
21 lines
1005 B
PHP
<x-other.modal id="mNewTask" size="md" title="New Task" subTitle="New Task" info="" :separator="true">
|
|
<x-slot name="action">
|
|
<button onclick="goToTask()" class="btn btn-success font-weight-bold mr-2">Pilih</button>
|
|
</x-slot>
|
|
<x-slot name="content">
|
|
<div class="col-12">
|
|
<form id="form_new_task">
|
|
<x-form.select title="Pilih Project" id="pilih_project">
|
|
<x-slot name="option">
|
|
@if($listProject)
|
|
<option value="">Pilih Project</option>
|
|
@foreach ($listProject as $proj)
|
|
<option value="{{ $proj->id }}" data-teamrole="{{ $proj->team_role_id }}" >{{ $proj->project_name }}</option>
|
|
@endforeach
|
|
@endif
|
|
</x-slot>
|
|
</x-form.select>
|
|
</form>
|
|
</div>
|
|
</x-slot>
|
|
</x-other.modal> |