Skip to content

Commit

Permalink
rename fields key
Browse files Browse the repository at this point in the history
  • Loading branch information
secondnetwork committed Feb 9, 2024
1 parent 26da60c commit ccba2f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/admin/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<li class="sidenav__list-item"><a wire:navigate @if(Route::is('admin.posts*')) class="active" @endif href="/admin/posts"><x-tabler-news class="icon-lg"/><span>{{ __('Posts') }}</span></a></li>
<li class="sidenav__list-item "><a wire:navigate @if(Route::is('admin.pages*')) class="active" @endif href="/admin/pages"><x-tabler-file-text class="icon-lg"/><span>{{ __('Pages') }}</span></a></li>

{{-- <livewire:adminmenu name="admin-sidebar-top"> --}}
<livewire:adminmenu name="admin-sidebar-top">


<li class="sidenav__list-item"><a wire:navigate @if(Route::is('admin.medialibrary')) class="active" @endif href="/admin/medialibrary"><x-tabler-photo-video class="icon-lg"/><span>{{ __('Media library') }}</span></a></li>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/livewire/blocks/blocks-show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class="cursor-pointer grid place-content-center border-2 border-dashed border-gr
@keydown.enter="disableEditing" @keydown.window.escape="disableEditing" x-ref="input">
</div>
<div class="col-span-6 text-md">
{{ $data->slug }}
{{ $data->name }}
</div>
</div>
<div class="flex justify-end items-center">
Expand Down Expand Up @@ -190,7 +190,7 @@ class="col-span-{{ $item->grid }} ">
<div class="p-4 flex flex-col gap-4 bg-blue-100 rounded-b-md" wire:key="field-{{ $item->id }}">
<x-kompass::form.input wire:model="fields.{{ $key }}.name" label="Feldbeschriftung" type="text" />
<div>
Feldname: <strong>{{ $fields[$key]->slug }}</strong>
Feldname: <strong>{{ $fields[$key]->name }}</strong>
</div>


Expand Down

0 comments on commit ccba2f2

Please sign in to comment.