mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 10:58:42 +00:00
3ead462549
* Enable CSRF protection * fix style issues
31 lines
1.1 KiB
PHP
31 lines
1.1 KiB
PHP
@extends('layouts.librenmsv1')
|
|
|
|
@section('title', __('Create Device Group'))
|
|
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row">
|
|
<form action="{{ route('device-groups.store') }}" method="POST" role="form"
|
|
class="form-horizontal device-group-form col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2 col-sm-12">
|
|
<legend>@lang('Create Device Group')</legend>
|
|
@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">@lang('Save')</button>
|
|
<a type="button" class="btn btn-danger"
|
|
href="{{ route('device-groups.index') }}">@lang('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
|