2021-12-08 09:29:42 -05:00
|
|
|
@extends('layouts.simple')
|
|
|
|
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
|
|
|
|
|
|
<div class="py-m">
|
|
|
|
@include('settings.parts.navbar', ['selected' => 'webhooks'])
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card content-wrap auto-height">
|
|
|
|
<h1 class="list-heading"> {{ trans('settings.webhooks_delete') }}</h1>
|
|
|
|
|
|
|
|
<p>{{ trans('settings.webhooks_delete_warning', ['webhookName' => $webhook->name]) }}</p>
|
|
|
|
|
|
|
|
|
2021-12-08 12:35:58 -05:00
|
|
|
<form action="{{ $webhook->getUrl() }}" method="POST">
|
2021-12-08 09:29:42 -05:00
|
|
|
{!! csrf_field() !!}
|
|
|
|
{!! method_field('DELETE') !!}
|
|
|
|
|
|
|
|
<div class="grid half v-center">
|
|
|
|
<div>
|
|
|
|
<p class="text-neg">
|
|
|
|
<strong>{{ trans('settings.webhooks_delete_confirm') }}</strong>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div class="form-group text-right">
|
2021-12-08 12:35:58 -05:00
|
|
|
<a href="{{ $webhook->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
|
2021-12-08 09:29:42 -05:00
|
|
|
<button type="submit" class="button">{{ trans('common.confirm') }}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@stop
|