Skip to content

Commit

Permalink
fix: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Aug 29, 2024
1 parent f477e88 commit 3223fa9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion resources/views/pages/en/advanced/js_events.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

FormBuilder::make('/crud/update', 'PUT')
->name('main-form')
->async(asyncEvents: [AlpineJs::event(JsEvent::TABLE_UPDATED, 'index', ['var' => 'foo])]) // [tl! focus]
->async(asyncEvents: [AlpineJs::event(JsEvent::TABLE_UPDATED, 'index', ['var' => 'foo'])]) // [tl! focus]
</x-code>

<x-moonshine::divider label="AlpineJs::eventBlade()" />
Expand Down
4 changes: 2 additions & 2 deletions resources/views/pages/en/menu.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -491,13 +491,13 @@ class MoonShineUserResource extends ModelResource
<x-sub-title id="badge">Label</x-sub-title>

<x-p>
It is also possible to add an icon to a menu item or group.
It is also possible to add an icon to a menu item.
</x-p>

<x-moonshine::divider label="Via menu item" />

<x-p>
To add a badge to a menu item or group, use method <code>badge()</code>,
To add a badge to a menu item, use method <code>badge()</code>,
which takes a closure as a parameter.
</x-p>

Expand Down
2 changes: 1 addition & 1 deletion resources/views/pages/ru/advanced/js_events.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

FormBuilder::make('/crud/update', 'PUT')
->name('main-form')
->async(asyncEvents: [AlpineJs::event(JsEvent::TABLE_UPDATED, 'index', ['var' => 'foo])]) // [tl! focus]
->async(asyncEvents: [AlpineJs::event(JsEvent::TABLE_UPDATED, 'index', ['var' => 'foo'])]) // [tl! focus]
</x-code>

<x-moonshine::divider label="AlpineJs::eventBlade()" />
Expand Down
4 changes: 2 additions & 2 deletions resources/views/pages/ru/menu.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -491,13 +491,13 @@ class MoonShineUserResource extends ModelResource
<x-sub-title id="badge">Метка</x-sub-title>

<x-p>
Также есть возможность добавить значок к пункту меню или группе.
Также есть возможность добавить значок к пункту меню.
</x-p>

<x-moonshine::divider label="Через элемент меню" />

<x-p>
Для добавления значка к пункту меню или группе используется метод <code>badge()</code>,
Для добавления значка к пункту меню используется метод <code>badge()</code>,
который в качестве параметра принимает замыкание.
</x-p>

Expand Down

0 comments on commit 3223fa9

Please sign in to comment.