Clean up formatting of locale form and dropdowns (#186)
This commit is contained in:
@@ -154,7 +154,7 @@ new class extends Component
|
|||||||
<x-slot:actions>
|
<x-slot:actions>
|
||||||
@if (auth()->user()->id != $user->id)
|
@if (auth()->user()->id != $user->id)
|
||||||
<x-ui.select
|
<x-ui.select
|
||||||
class="select select-ghost border-none focus:outline-none focus:ring-0"
|
class="cursor-pointer select-ghost border-none focus:outline-none focus:ring-0"
|
||||||
:options="[['id' => 0, 'name' => __('Read only')], ['id' => 1, 'name' => __('Full access')]]"
|
:options="[['id' => 0, 'name' => __('Read only')], ['id' => 1, 'name' => __('Full access')]]"
|
||||||
wire:model.live.number="permissions.{{ $user->id }}.full_access"
|
wire:model.live.number="permissions.{{ $user->id }}.full_access"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ new class extends Component
|
|||||||
<div class="col-span-6 sm:col-span-4">
|
<div class="col-span-6 sm:col-span-4">
|
||||||
<x-ui.select
|
<x-ui.select
|
||||||
label="{{ __('Locale') }}"
|
label="{{ __('Locale') }}"
|
||||||
class="select block mt-1 w-full"
|
class=""
|
||||||
:options="config('app.available_locales')"
|
:options="config('app.available_locales')"
|
||||||
option-value="locale"
|
option-value="locale"
|
||||||
option-label="label"
|
option-label="label"
|
||||||
@@ -84,7 +84,7 @@ new class extends Component
|
|||||||
<div class="col-span-6 sm:col-span-4">
|
<div class="col-span-6 sm:col-span-4">
|
||||||
<x-ui.select
|
<x-ui.select
|
||||||
label="{{ __('Display Currency') }}"
|
label="{{ __('Display Currency') }}"
|
||||||
class="select block mt-1 w-full"
|
class=""
|
||||||
:options="$currencies"
|
:options="$currencies"
|
||||||
option-value="currency"
|
option-value="currency"
|
||||||
option-label="label"
|
option-label="label"
|
||||||
|
|||||||
Reference in New Issue
Block a user