Edit Deck View

main
Alex 2 years ago
parent 2d142af697
commit cc05eac6cf

@ -44,7 +44,7 @@
@enderror @enderror
</div> </div>
<div class="mt-8"> <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 wire:model.lazy="backside_path" rows="3" cols="20" class="w-full rounded">
</textarea> </textarea>
@error('backside_path') @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"> <th class="px-6 py-3 text-left text-gray-500 border-b border-gray-200 bg-gray-50">
U-Name U-Name
</th> </th>
<th class="px-6 py-3 text-left text-gray-500 border-b border-gray-200 bg-gray-50"> <th class="flex items-center px-6 py-3 text-left text-gray-500 border-b border-gray-200 bg-gray-50">
Edit Actions
</th> </th>
<th class="px-6 py-3 text-left text-gray-500 border-b border-gray-200 bg-gray-50"> <th class="px-6 py-3 text-left text-gray-500 border-b border-gray-200 bg-gray-50">
Delete Delete
@ -110,7 +110,7 @@
<tbody class="bg-white"> <tbody class="bg-white">
@foreach($decks as $deck) @foreach($decks as $deck)
<tr> <tr style="line-height: 12px">
<td class="px-6 py-4 border-b border-gray-200"> <td class="px-6 py-4 border-b border-gray-200">
<div class="flex items-center"> <div class="flex items-center">
<div class="ml-4"> <div class="ml-4">
@ -133,15 +133,18 @@
</div> </div>
</td> </td>
<td class="px-6 py-4 border-b border-gray-200"> <td class="flex items-center px-6 py-4 border-b border-gray-32 flex-cols">
<button wire:click="edit({{ $deck->id }})" class="px-4 py-2 text-white bg-blue-600"> <button wire:click="edit({{ $deck->id }})" class="w-full h-12 px-4 py-2 text-white bg-blue-600 ">
Edit Edit
</button> </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>
<td class="px-6 py-4 text-sm text-gray-500 border-b border-gray-200"> <td class="px-6 py-4 text-sm text-gray-500 border-b border-gray-200">
<button wire:click="destroy({{ $deck->id }})" <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 Delete
</button> </button>
</td> </td>

Loading…
Cancel
Save