my-projects-website/app/application/resources/views/private/profile/settings.blade.php

24 lines
1.1 KiB
PHP
Raw Permalink Normal View History

@section('meta_title', __('Settings'))
@section('h1', __('Settings'))
<x-private.layout>
<div class="row">
<div class="col-12 mb-4">
<div class="card border-0 shadow components-section">
<div class="card-body">
<form method="post" action="{{ route('profile.update-settings') }}">
@csrf
@method('PUT')
<x-volt.forms.select :title="__('validation.attributes.lang')" name="lang" :list="$languages" :value="$user->lang?->value">
<option value="">{{ __('Default') }}</option>
</x-volt.forms.select>
<x-volt.forms.select :title="__('validation.attributes.timezone')" name="timezone" :list="$timezone" :value="$user->timezone">
<option value="">{{ __('Default') }}</option>
</x-volt.forms.select>
<button class="btn btn-primary" type="submit">{{ __('Save') }}</button>
</form>
</div>
</div>
</div>
</div>
</x-private.layout>