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
32 lines
1.2 KiB
PHP
32 lines
1.2 KiB
PHP
@extends('layouts.librenmsv1')
|
|
|
|
@section('title', __('Edit Device Group'))
|
|
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row">
|
|
<form action="{{ route('device-groups.update', $device_group->id) }}" method="POST" role="form"
|
|
class="form-horizontal device-group-form col-md-10 col-md-offset-1 col-sm-12">
|
|
<legend>{{ __('Edit Device Group') }}: {{ $device_group->name }}</legend>
|
|
{{ method_field('PUT') }}
|
|
@csrf
|
|
|
|
@include('device-group.form')
|
|
|
|
<div class="form-group">
|
|
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-sm-offset-2">
|
|
<button type="submit" class="btn btn-primary">{{ __('Save') }}</button>
|
|
<a type="button" class="btn btn-danger"
|
|
href="{{ route('device-groups.index') }}">{{ __('Cancel') }}</a>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
|
|
@section('javascript')
|
|
<script src="{{ asset('js/sql-parser.min.js') }}"></script>
|
|
<script src="{{ asset('js/query-builder.standalone.min.js') }}"></script>
|
|
@endsection
|