Skip to content

Commit e63b569

Browse files
tomschlickqschmick
authored andcommitted
include the command name in the dropdown list (#72)
1 parent 1cf1178 commit e63b569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/tasks/form.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<select id="command" name="command" class="uk-select" placeholder="Click here to select one of the available commands">
3535
<option value="">Select a command</option>
3636
@foreach ($commands as $command)
37-
<option value="{{$command->getName()}}" {{old('command', $task->command) == $command->getName() ? 'selected' : ''}}>{{$command->getDescription()}}</option>
37+
<option value="{{$command->getName()}}" {{old('command', $task->command) == $command->getName() ? 'selected' : ''}}>{{ $command->getName() }} - {{ $command->getDescription() }}</option>
3838
@endforeach
3939
</select>
4040
@if($errors->has('command'))
@@ -241,4 +241,4 @@
241241
@stop
242242
@section('main-panel-after')
243243
</form>
244-
@stop
244+
@stop

0 commit comments

Comments
 (0)