mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Don't use @lang() it doesn't escape the string Found an issue where a string contained a single quote and broke the page. * fix regex errors * fix another style of mis-replacement * found another issue
19 lines
655 B
PHP
19 lines
655 B
PHP
@extends('widgets.settings.base')
|
|
|
|
@section('form')
|
|
<div class="form-group">
|
|
<label for="device_group-{{ $id }}" class="control-label">{{ __('Device group') }}</label>
|
|
<select class="form-control" name="device_group" id="device_group-{{ $id }}" data-placeholder="{{ __('All Devices') }}">
|
|
@if($device_group)
|
|
<option value="{{ $device_group->id }}" selected>{{ $device_group->name }}</option>
|
|
@endif
|
|
</select>
|
|
</div>
|
|
@endsection
|
|
|
|
@section('javascript')
|
|
<script type="text/javascript">
|
|
init_select2('#device_group-{{ $id }}', 'device-group', {});
|
|
</script>
|
|
@endsection
|