34 lines
1.5 KiB
PHP
34 lines
1.5 KiB
PHP
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
{{-- Sprache --}}
|
|
<div>
|
|
<label class="block text-white/60 text-sm mb-1">Sprache</label>
|
|
<select wire:model.defer="locale"
|
|
class="w-full h-11 rounded-xl border border-white/10 bg-white/[0.04] px-3 text-white/90">
|
|
@foreach (config('mailwolt.language') as $key => $lang)
|
|
<option value="{{ $lang['locale'] }}">{{ $lang['label'] }}</option>
|
|
@endforeach
|
|
</select>
|
|
@error('locale') <p class="text-xs text-rose-400 mt-1">{{ $message }}</p> @enderror
|
|
</div>
|
|
|
|
{{-- Zeitzone --}}
|
|
<div>
|
|
<label class="block text-white/60 text-sm mb-1">Zeitzone</label>
|
|
<select wire:model.defer="timezone"
|
|
class="w-full h-11 rounded-xl border border-white/10 bg-white/[0.04] px-3 text-white/90">
|
|
@foreach (DateTimeZone::listIdentifiers() as $tz)
|
|
<option value="{{ $tz }}">{{ $tz }}</option>
|
|
@endforeach
|
|
</select>
|
|
@error('timezone') <p class="text-xs text-rose-400 mt-1">{{ $message }}</p> @enderror
|
|
</div>
|
|
|
|
{{-- Actions: immer unten rechts, volle Breite, rechts ausgerichtet --}}
|
|
<div class="md:col-span-2 flex justify-end">
|
|
<button wire:click="save"
|
|
class="inline-flex items-center gap-2 rounded-xl border border-white/10 bg-white/5 px-3 py-1.5 text-white/80 hover:text-white hover:border-white/20">
|
|
Speichern
|
|
</button>
|
|
</div>
|
|
</div>
|