2021-04-29 20:57:37 +00:00
|
|
|
@extends('layouts.app')
|
2021-04-28 17:05:04 +00:00
|
|
|
|
2021-04-29 20:57:37 +00:00
|
|
|
@section('title', 'Ajouter un menu')
|
2021-04-28 17:05:04 +00:00
|
|
|
|
2021-04-29 20:57:37 +00:00
|
|
|
@section('content')
|
|
|
|
<h1>Ajouter un menu</h1>
|
2021-04-28 17:05:04 +00:00
|
|
|
|
2021-04-29 20:57:37 +00:00
|
|
|
<form method="POST" action="{{ route('menus.store') }}">
|
|
|
|
@csrf
|
|
|
|
|
|
|
|
<label for="title">Titre du menu</label><br />
|
|
|
|
<input id="title" name="title" type="text" class="@error('title') is-invalid @enderror"><br />
|
|
|
|
|
|
|
|
@error('title')
|
|
|
|
<div class="alert alert-danger">{{ $message }}</div>
|
|
|
|
@enderror
|
|
|
|
|
|
|
|
<input type="submit" value="Nouveau menu">
|
|
|
|
</form>
|
|
|
|
|
|
|
|
@endsection
|