adds csrf token and missing divs

This commit is contained in:
Godfrey M 2023-03-21 16:12:46 -07:00
parent 3c28242a2e
commit 2754277068

View file

@ -13,6 +13,8 @@
@section('content') @section('content')
<div> <div>
<form class="form-horizontal" role="form" wire:submit.prevent="submit">
{{csrf_field()}}
<div class="row"> <div class="row">
<div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2"> <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2">
<div class="panel box box-default"> <div class="panel box box-default">
@ -107,7 +109,6 @@
value="{{old('webhook_channel', $webhook_channel)}}"> value="{{old('webhook_channel', $webhook_channel)}}">
<p class="text-warning"><i <p class="text-warning"><i
class="fas fa-lock"></i> {{ trans('general.feature_disabled') }}</p> class="fas fa-lock"></i> {{ trans('general.feature_disabled') }}</p>
@else @else
<input type="text" wire:model="webhook_channel" class='form-control' <input type="text" wire:model="webhook_channel" class='form-control'
placeholder="#IT-Ops" placeholder="#IT-Ops"
@ -122,7 +123,7 @@
<div class="col-md-2"> <div class="col-md-2">
{{ Form::label('webhook_botname', trans('admin/settings/general.webhook_botname',['app' => $webhook_name ])) }} {{ Form::label('webhook_botname', trans('admin/settings/general.webhook_botname',['app' => $webhook_name ])) }}
</div> </div>
<div class="col-md-9"> <div class="col-md-8">
@if (config('app.lock_passwords')===true) @if (config('app.lock_passwords')===true)
<input type="text" wire:model="webhook_botname" class='form-control' <input type="text" wire:model="webhook_botname" class='form-control'
placeholder="Snipe-Bot" {{old('webhook_botname', $webhook_botname)}}> placeholder="Snipe-Bot" {{old('webhook_botname', $webhook_botname)}}>
@ -168,11 +169,11 @@
aria-hidden="true"></i> {{ $save_button }}</button> aria-hidden="true"></i> {{ $save_button }}</button>
</div> </div>
</div><!--box-footer--> </div><!--box-footer-->
</form>
</div> <!-- /box --> </div> <!-- /box -->
</div> <!-- /.col-md-8--> </div> <!-- /.col-md-8-->
</div> </div>
</div> </div>
</div> </div>
</form>
</div> </div>