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.3 KiB
PHP
32 lines
1.3 KiB
PHP
@extends('layouts.librenmsv1')
|
|
|
|
@section('title', __('Create Service Template'))
|
|
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row">
|
|
<form action="{{ route('services.templates.store') }}" method="POST" role="form"
|
|
class="form-horizontal service-template-form col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2 col-sm-12">
|
|
<legend><h2>{{ __('Create Service Template') }}</h2></legend>
|
|
<div class='alert alert-info'>Service Template will created for the specified Device Group.</div>
|
|
@csrf
|
|
<div class='well well-lg'>
|
|
@include('service-template.form')
|
|
<div class="form-group">
|
|
<hr>
|
|
<center><button type="submit" class="btn btn-primary">{{ __('Save') }}</button>
|
|
<a type="button" class="btn btn-danger"
|
|
href="{{ route('services.templates.index') }}">{{ __('Cancel') }}</a>
|
|
</center>
|
|
</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
|