Enforce PHP and Blade formatting
All checks were successful
Tests / Laravel tests (pull_request) Successful in 12m39s

This commit is contained in:
2026-06-03 22:22:39 +02:00
parent aab8d33b8d
commit 886e3993fc
47 changed files with 946 additions and 283 deletions

View File

@@ -1,7 +1,8 @@
<x-app-layout>
<div class="p-6">
<h2 class="text-2xl font-semibold text-gray-800 dark:text-white mb-4">Personalia</h2>
<a href="{{ route('personalia.create') }}" class="mb-4 inline-block px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700">Nieuw item toevoegen</a>
<a href="{{ route('personalia.create') }}"
class="mb-4 inline-block px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700">Nieuw item toevoegen</a>
<div class="space-y-4">
@foreach ($personalia as $item)
@@ -19,8 +20,10 @@
</div>
</div>
<div class="flex space-x-2">
<a href="{{ route('personalia.edit', $item) }}" class="text-blue-600 hover:underline">Bewerken</a>
<form action="{{ route('personalia.destroy', $item) }}" method="POST" onsubmit="return confirm('Weet je zeker dat je dit item wilt verwijderen?')">
<a href="{{ route('personalia.edit', $item) }}"
class="text-blue-600 hover:underline">Bewerken</a>
<form action="{{ route('personalia.destroy', $item) }}" method="POST"
onsubmit="return confirm('Weet je zeker dat je dit item wilt verwijderen?')">
@csrf
@method('DELETE')
<button class="text-red-600 hover:underline">Verwijderen</button>