librenms/resources/views/port-group/edit.blade.php
SourceDoctor 4b9e480118
Define Port Groups (#12402)
* Define Port Groups

* .

* .

* .

* API Calls

* .

* .

* .

* minor changes

* .

* update forms

* remove link

* .

* change column settings

* change migration

* change update position

* db migration fix

* .

* .

* .

* add missing doc reference

* update test data

* update test data

* update test data

* .

* .

* .

* .

* .

* .

* .

* .

* port group association in seperate table

* .

* .

* show all found groups on port

* select multiple Portgroups per Port

* change on migration file

* change query to eloquent

* Code changes

* move port group menu to ports main menu

* port group update to eloquent

* .

* .

* update to new setting way

* add missing merge parameter

* Use select2 and port some things to Laravel
some fixes, hopefully no new added bugs

* schema

* don't use on update restrict unfortunately

* remove unused import and revert changes

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-04-06 17:25:08 -05:00

27 lines
1020 B
PHP

@extends('layouts.librenmsv1')
@section('title', __('Edit Port Group'))
@section('content')
<div class="container">
<div class="row">
<form action="{{ route('port-groups.update', $port_group->id) }}" method="POST" role="form"
class="form-horizontal device-group-form col-md-10 col-md-offset-1 col-sm-12">
<legend>@lang('Edit Port Group'): {{ $port_group->name }}</legend>
{{ method_field('PUT') }}
@csrf
@include('port-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('port-groups.index') }}">@lang('Cancel')</a>
</div>
</div>
</form>
</div>
</div>
@endsection