feat: Fragen nach Fach getrennt mit Tab-Navigation

This commit is contained in:
root
2026-05-05 15:14:45 +00:00
parent 03b59f3e77
commit 9986f69e9e
4 changed files with 67 additions and 36 deletions
@@ -2,7 +2,7 @@
@section('title','Frage bearbeiten')
@section('content')
<div class="max-w-2xl">
<a href="{{ route('admin.questions.index') }}" class="text-sm text-slate-500 hover:text-slate-700 mb-4 inline-block"> Zurück</a>
<a href="{{ route('admin.questions.index', ['subject'=>$question->subject_id]) }}" class="text-sm text-slate-500 hover:text-slate-700 mb-4 inline-block"> Zurück</a>
<div class="bg-white rounded-xl shadow-sm border border-slate-200 p-6">
<h2 class="font-semibold text-slate-800 mb-5">Frage bearbeiten</h2>
<form method="POST" action="{{ route('admin.questions.update',$question) }}" class="space-y-5">