mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-08-14 06:23:15 +00:00
50 lines
1.2 KiB
HTML
50 lines
1.2 KiB
HTML
<form class="sitekey-form" action="<.= crate::V1_API_ROUTES.captcha.create .>" method="post">
|
|
<div class="sitekey-form__advance-options-container">
|
|
<h1 class="sitekey-form__advance-options-form-title">
|
|
<.= form_title .>
|
|
</h1>
|
|
<a
|
|
class="sitekey-form__advance-options-link"
|
|
href="<.= crate::PAGES.panel.sitekey.add_easy .>">
|
|
Easy Options
|
|
</a>
|
|
</div>
|
|
<label class="sitekey-form__label" for="description">
|
|
Description
|
|
<input
|
|
class="sitekey-form__input"
|
|
type="text"
|
|
name="description"
|
|
id="description"
|
|
required
|
|
<. if !form_description.trim().is_empty() { .>
|
|
value="<.= form_description .>"
|
|
<. } .>
|
|
/>
|
|
</label>
|
|
|
|
<label class="sitekey-form__label" for="duration">
|
|
Cooldown Duratoin(in seconds)
|
|
<input
|
|
class="sitekey-form__input"
|
|
type="number"
|
|
name="duration"
|
|
id="duration"
|
|
min=0
|
|
required
|
|
value="<.= form_duration .>"
|
|
/>
|
|
</label>
|
|
|
|
|
|
<. for level in 1..=levels { .>
|
|
<. if level == levels { .>
|
|
<. include!("./add-level.html"); .>
|
|
<. } else { .>
|
|
<. include!("./existing-level.html"); .>
|
|
<. } .>
|
|
<. } .>
|
|
|
|
<button class="sitekey-form__submit" type="submit">Submit</button>
|
|
</form>
|