mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 23:42:32 +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>
|
<p class="my-1">{{ $message }}</p>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<x-back-button>
|
<x-back-button>
|
||||||
<x-slot name="href">{{ route('/') }}</x-slot>
|
<x-slot name="href">{{ route('/') }}</x-slot>
|
||||||
Back to home
|
Back to home
|
||||||
</x-back-button>
|
</x-back-button>
|
||||||
<form action="{{ route('settings.update', 1) }}" method="POST">
|
<form action="{{ route('settings.update', 1) }}" method="POST">
|
||||||
@csrf
|
@csrf
|
||||||
@method('PUT')
|
@method('PUT')
|
||||||
@ -156,6 +156,24 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</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="row">
|
||||||
<div class="col-12 col-lg-4">
|
<div class="col-12 col-lg-4">
|
||||||
<x-submit-button>Update settings</x-submit-button>
|
<x-submit-button>Update settings</x-submit-button>
|
||||||
|
Loading…
Reference in New Issue
Block a user