Basic routes and BeerListController methods

This commit is contained in:
2021-09-04 23:54:41 +02:00
parent 1b8e76b183
commit 26dbfeb94a
20 changed files with 146 additions and 64 deletions

View File

@@ -0,0 +1,20 @@
@extends('layouts.app')
@section('content')
Add list
<form method="POST" action="{{ route('list.store') }}">
@csrf
<label for="title">
List Name
</label>
<input class="bg-gray-300 border-black border-1" 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">
Add List
</button>
</form>
@endsection