service-captcha/resources/views/private/captcha_tokens/_from.blade.php

6 lines
281 B
PHP

@csrf
<x-private.forms.input :title="__('validation.attributes.title')" name="title" type="text" :value="$captchaToken->title" required autofocus />
@canany(['create', 'update'], $captchaToken)
<button class="btn btn-primary" type="submit">{{ __('Save') }}</button>
@endcanany