mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-22 00:03:46 +02:00
Completed model updates for Services
This commit is contained in:
@@ -12,10 +12,10 @@
|
||||
<div class="col-md-12">
|
||||
<label class="control-label">Associated Service Option:</label>
|
||||
<select name="option" class="form-control">
|
||||
@foreach($services as $service => $options)
|
||||
<option disabled>{{ $service }}</option>
|
||||
@foreach($options as $option)
|
||||
<option value="{{ $option['id'] }}" @if((int) $for === (int) $option['id'])selected="selected"@endif> -- {{ $option['name'] }}</option>
|
||||
@foreach($services as $service)
|
||||
<option disabled>{{ $service->name }}</option>
|
||||
@foreach($service->options as $option)
|
||||
<option value="{{ $option->id }}" @if((int) request()->option === $option->id)selected="selected"@endif> -- {{ $option->name }}</option>
|
||||
@endforeach
|
||||
@endforeach
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user