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') @extends('layouts.layout')
@section('content') @section('content')
<table class="table"> {{ html()->form('POST', route('tasks.store'))->class(['needs-validation', 'novalidate'])->open() }}
<thead>
<tr> {{ html()->text('username') }}
<th scope="col">#</th>
<th scope="col">отдел</th> {{ html()->form()->close() }}
<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>
@endsection @endsection

View File

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