@extends('layouts.simple') @section('body')
@include('settings.parts.navbar', ['selected' => 'webhooks'])

{{ trans('settings.webhooks_edit') }}

{{ trans('settings.webhooks_last_called') }} {{ $webhook->last_called_at ? $webhook->last_called_at->diffForHumans() : trans('common.never') }}
{{ trans('settings.webhooks_last_errored') }} {{ $webhook->last_errored_at ? $webhook->last_errored_at->diffForHumans() : trans('common.never') }}


@if($webhook->last_error) {{ trans('settings.webhooks_last_error_message') }}
{{ $webhook->last_error }} @endif

{!! csrf_field() !!} {!! method_field('PUT') !!} @include('settings.webhooks.parts.form', ['model' => $webhook, 'title' => trans('settings.webhooks_edit')])
@include('settings.webhooks.parts.format-example')
@stop