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
927 B
PHP
19 lines
927 B
PHP
@extends('widgets.settings.base')
|
|
|
|
@section('form')
|
|
<div class="form-group">
|
|
<label for="title-{{ $id }}" class="control-label">{{ __('Widget title') }}</label>
|
|
<input type="text" class="form-control" name="title" id="title-{{ $id }}" placeholder="{{ __('Default Title') }}" value="{{ $title }}">
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="image_url-{{ $id }}" class="control-label">{{ __('Image URL') }}</label>
|
|
<input type="text" class="form-control" name="image_url" id="image_url-{{ $id }}" placeholder="{{ __('Image URL') }}" value="{{ $image_url }}" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="target_url-{{ $id }}" class="control-label">{{ __('Target URL') }}</label>
|
|
<input type="text" class="form-control" name="target_url" id="target_url-{{ $id }}" placeholder="{{ __('Target URL') }}" value="{{ $target_url }}">
|
|
</div>
|
|
@endsection
|