add create task view
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Failing after 13m15s Details

This commit is contained in:
aslan 2024-05-08 16:16:00 +03:00
parent de7b21e4d1
commit 501aa384c8
2 changed files with 8 additions and 21 deletions

View File

@ -1,25 +1,10 @@
@extends('layouts.layout')
@section('content')
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">отдел</th>
<th scope="col">Задача</th>
<th scope="col">Статус</th>
<th scope="col">Назначил</th>
<th scope="col">Исполнители</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
</tbody>
</table>
{{ html()->form('POST', route('tasks.store'))->class(['needs-validation', 'novalidate'])->open() }}
{{ html()->text('username') }}
{{ html()->form()->close() }}
@endsection

View File

@ -1,6 +1,8 @@
@extends('layouts.layout')
@section('content')
<a href="{{ route('tasks.create') }}" class="btn btn-primary">
Создать задачу
</a>
<table class="table">
<thead>
<tr>