Finished blade designs and methods and added sortable lists

This commit is contained in:
2021-09-05 16:41:14 +02:00
parent d1d2198ef5
commit 438246740f
21 changed files with 759 additions and 218 deletions

View File

@@ -1,19 +1,22 @@
@extends('layouts.app')
@section('content')
Add list
<h1 class="my-20 text-3xl">
Add list
</h1>
<form method="POST" action="{{ route('list.store') }}">
@csrf
<label for="title">
<label for="title" class="text-lg">
List Name
</label>
<input class="bg-gray-300 border-black border-1" type="text" name="title">
<input class="bg-gray-300 border-black border-2" type="text" name="title">
@if ($errors->has('title'))
<span class="text-red-600" role="alert">
<strong>{{ $errors->first('title') }}</strong>
</span>
@endif
<button type="submit">
<span class="text-red-600" role="alert">
<strong>{{ $errors->first('title') }}</strong>
</span>
@endif
<br>
<button type="submit" class="text-lg mt-6 bg-green-700 px-2 py-1 rounded-md text-white">
Add List
</button>
</form>