Edit Deck View

main
Alex 2 years ago
parent 2d142af697
commit cc05eac6cf

@ -44,7 +44,7 @@
@enderror
</div>
<div class="mt-8">
<label class="block mb-2 text-xl">Pfad zu Karten-Rückseite </label>
<label class="block mb-2 text-xl">Pfad zu Karten-Rueckseite </label>
<textarea wire:model.lazy="backside_path" rows="3" cols="20" class="w-full rounded">
</textarea>
@error('backside_path')
@ -99,8 +99,8 @@
<th class="px-6 py-3 text-left text-gray-500 border-b border-gray-200 bg-gray-50">
U-Name
</th>
<th class="px-6 py-3 text-left text-gray-500 border-b border-gray-200 bg-gray-50">
Edit
<th class="flex items-center px-6 py-3 text-left text-gray-500 border-b border-gray-200 bg-gray-50">
Actions
</th>
<th class="px-6 py-3 text-left text-gray-500 border-b border-gray-200 bg-gray-50">
Delete
@ -110,7 +110,7 @@
<tbody class="bg-white">
@foreach($decks as $deck)
<tr>
<tr style="line-height: 12px">
<td class="px-6 py-4 border-b border-gray-200">
<div class="flex items-center">
<div class="ml-4">
@ -133,15 +133,18 @@
</div>
</td>
<td class="px-6 py-4 border-b border-gray-200">
<button wire:click="edit({{ $deck->id }})" class="px-4 py-2 text-white bg-blue-600">
<td class="flex items-center px-6 py-4 border-b border-gray-32 flex-cols">
<button wire:click="edit({{ $deck->id }})" class="w-full h-12 px-4 py-2 text-white bg-blue-600 ">
Edit
</button>
<button wire:click={{route("cards.index",$deck->id)}} class="w-full h-12 px-4 py-2 ml-2 text-white bg-teal-600 ">
Add Cards
</button>
</td>
<td class="px-6 py-4 text-sm text-gray-500 border-b border-gray-200">
<button wire:click="destroy({{ $deck->id }})"
class="px-4 py-2 text-white bg-red-600">
class="w-full h-12 px-4 py-2 text-white bg-red-600">
Delete
</button>
</td>

Loading…
Cancel
Save