mCaptcha/templates/panel/add-site-key/form.html

27 lines
746 B
HTML
Raw Normal View History

2021-04-30 15:00:40 +03:00
<form class="sitekey-form" action="/something" method="post">
<div class="sitekey-form__title-flex-container">
2021-05-01 12:11:22 +03:00
<b class="sitekey-form__title"><.= form_title .></b>
2021-04-30 15:00:40 +03:00
</div>
<div class="sitekey-form__add-level-flex-container">
<label class="sitekey-form__label" for="description">Description</label>
</div>
<input
class="sitekey-form__input"
2021-05-01 12:11:22 +03:00
type="text"
2021-04-30 15:00:40 +03:00
name="description"
id="description"
2021-05-01 16:52:44 +03:00
required
2021-05-01 12:11:22 +03:00
value="<.= form_description .>"
2021-04-30 15:00:40 +03:00
/>
2021-05-01 12:11:22 +03:00
<. for level in 1..=levels { .>
<. if level == levels { .>
<. include!("./add-level.html"); .>
<. } else { .>
<. include!("./existing-level.html"); .>
<. } .>
<. } .>
2021-04-30 15:00:40 +03:00
<button class="sitekey-form__submit" type="submit">Submit</button>
</form>