begin action buttons

This commit is contained in:
Александр Бабкин
2022-06-28 17:12:44 +03:00
parent 44f24c5dae
commit ac7ebb7136
7 changed files with 114 additions and 75 deletions

View File

@@ -9,7 +9,15 @@
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
<div class="p-6 bg-white border-b border-gray-200">
<x-label class="mb-4" :errors="$errors" />
@if ($errors->any())
<div class="alert alert-danger text-red-500 p-2">
<ul class="list-unstyled alert alert-danger">
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form method="POST" action="{{ route('projects.store') }}">
@csrf
<!-- Project name -->