We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 496d6fa commit d705abfCopy full SHA for d705abf
resources/views/tasks/form.blade.php
@@ -34,7 +34,11 @@
34
<select id="command" name="command" class="uk-select" placeholder="Click here to select one of the available commands">
35
<option value="">Select a command</option>
36
@foreach ($commands as $command)
37
- <option value="{{$command->getName()}}" {{old('command', $task->command) == $command->getName() ? 'selected' : ''}}>{{ $command->getName() }} - {{ $command->getDescription() }}</option>
+ <optgroup label="{{$command->getName()}}">
38
+ <option value="{{$command->getName()}}" {{old('command', $task->command) == $command->getName() ? 'selected' : ''}}>
39
+ {{$command->getDescription()}}
40
+ </option>
41
+ </optgroup>
42
@endforeach
43
</select>
44
@if($errors->has('command'))
0 commit comments