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>
|
||||
@if (auth()->user()->id != $user->id)
|
||||
<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')]]"
|
||||
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">
|
||||
<x-ui.select
|
||||
label="{{ __('Locale') }}"
|
||||
class="select block mt-1 w-full"
|
||||
class=""
|
||||
:options="config('app.available_locales')"
|
||||
option-value="locale"
|
||||
option-label="label"
|
||||
@@ -84,7 +84,7 @@ new class extends Component
|
||||
<div class="col-span-6 sm:col-span-4">
|
||||
<x-ui.select
|
||||
label="{{ __('Display Currency') }}"
|
||||
class="select block mt-1 w-full"
|
||||
class=""
|
||||
:options="$currencies"
|
||||
option-value="currency"
|
||||
option-label="label"
|
||||
|
||||
Reference in New Issue
Block a user