mCaptcha/templates/panel/sitekey/add/form.html

41 lines
889 B
HTML
Raw Normal View History

2021-05-03 17:54:03 +03:00
<form class="sitekey-form" action="<.= crate::V1_API_ROUTES.levels.add .>" method="post">
<h1 class="form__title">
<.= form_title .>
</h1>
<label class="sitekey-form__label" for="description">
Description
<input
class="sitekey-form__input"
type="text"
name="description"
id="description"
required
value="<.= form_description .>"
/>
</label>
2021-04-30 15:00:40 +03:00
2021-05-04 08:37:18 +03:00
<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>
2021-05-01 12:11:22 +03:00
<. for level in 1..=levels { .>
<. if level == levels { .>
<. include!("./add-level.html"); .>
2021-05-01 12:11:22 +03:00
<. } else { .>
<. include!("./existing-level.html"); .>
<. } .>
<. } .>
2021-04-30 15:00:40 +03:00
<button class="sitekey-form__submit" type="submit">Submit</button>
</form>