mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
0959df53e5
* 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
16 lines
822 B
PHP
16 lines
822 B
PHP
<div class="form-group @if($errors->has('name')) has-error @endif">
|
|
<label for="name" class="control-label col-sm-3 col-md-2 text-nowrap">{{ __('Name') }}</label>
|
|
<div class="col-sm-9 col-md-10">
|
|
<input type="text" class="form-control" id="name" name="name" value="{{ old('name', $port_group->name) }}">
|
|
<span class="help-block">{{ $errors->first('name') }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group @if($errors->has('desc')) has-error @endif">
|
|
<label for="desc" class="control-label col-sm-3 col-md-2 text-nowrap">{{ __('Description') }}</label>
|
|
<div class="col-sm-9 col-md-10">
|
|
<input type="text" class="form-control" id="desc" name="desc" value="{{ old('desc', $port_group->desc) }}">
|
|
<span class="help-block">{{ $errors->first('desc') }}</span>
|
|
</div>
|
|
</div>
|