<form method="post">{{ form_token() }}
<h3>{{ __("Confirm Custom Page Deletion") }}</h3>
<p>
{{ __("Are you sure you want to delete this page? There is no undo.") }}
</p>
<fieldset class="form-metadata-wrapper">
<legend>
<input id="create_redirect" name="create_redirect" type="checkbox" value="1" />
<label for="create_redirect">{{ __("Redirect users to a different location?") }}</label>
</legend>
<div id="redirect_box">
<label for="redirect_to">{{ __("Redirect destination") }}:</label>
<input type="text" id="redirect_to" placeholder="/example/path" />
</div>
</fieldset>
<label>{{ __("Please prove that you are human") }}:</label>
<div class="g-recaptcha" data-sitekey="{{ config.recaptcha["site-key"]|e('html_attr') }}"></div>
<hr />
<button
class="pure-button pure-button-secondary"
name="save_btn"
type="submit"
value="confirm"
>
{{ __("Save Changes") }}
</button>
<button
class="pure-button pure-button-tertiary"
id="cancel_btn"
data-href="{{ cabin_url() ~ "pages/" ~ cabin|e('url') ~ "?dir=" ~ dir|e('url') }}"
type="button"
>
{{ __("Cancel") }}
</button>
</form>
|