mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 15:33:44 +01:00
Added OS and currency defaults to settings form
Added OS and currency defaults to settings form
This commit is contained in:
parent
2d42001e7f
commit
70b6a50666
@ -10,10 +10,10 @@
|
||||
<p class="my-1">{{ $message }}</p>
|
||||
</div>
|
||||
@endif
|
||||
<x-back-button>
|
||||
<x-slot name="href">{{ route('/') }}</x-slot>
|
||||
Back to home
|
||||
</x-back-button>
|
||||
<x-back-button>
|
||||
<x-slot name="href">{{ route('/') }}</x-slot>
|
||||
Back to home
|
||||
</x-back-button>
|
||||
<form action="{{ route('settings.update', 1) }}" method="POST">
|
||||
@csrf
|
||||
@method('PUT')
|
||||
@ -156,6 +156,24 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mt-3">
|
||||
<div class="col-12 col-md-4 mb-3">
|
||||
<x-os-select>
|
||||
<x-slot name="title">Default server OS</x-slot>
|
||||
<x-slot name="name">default_server_os</x-slot>
|
||||
<x-slot name="current">{{$setting[0]->default_server_os}}</x-slot>
|
||||
</x-os-select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mt-3">
|
||||
<div class="col-12 col-md-4 mb-3">
|
||||
<x-currency-select>
|
||||
<x-slot name="title">Default currency</x-slot>
|
||||
<x-slot name="name">default_currency</x-slot>
|
||||
<x-slot name="current">{{$setting[0]->default_currency}}</x-slot>
|
||||
</x-currency-select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-4">
|
||||
<x-submit-button>Update settings</x-submit-button>
|
||||
|
Loading…
Reference in New Issue
Block a user