feat: advance sitekey edit now allows modifying publication status

This commit is contained in:
Aravinth Manivannan
2023-06-30 16:48:53 +05:30
parent 6834e555d8
commit 22edb04ce2
5 changed files with 48 additions and 23 deletions

View File

@@ -16,6 +16,22 @@
<. } .>
<. let level = levels.len() + 1; .>
<. include!("../add/advance/add-level.html"); .>
<label class="sitekey-form__label" for="publish_benchmarks">
Anonymously publish CAPTCHA performance statistics to help other webmasters
<input
class="sitekey-form__input"
type="checkbox"
id="publish_benchmarks"
name="publish_benchmarks"
<. if publish_benchmarks { .>
checked
<. }.>
/>
</label>
<button data-sitekey="<.= key .>"
id="sitekey-form__submit" class="sitekey-form__submit" type="submit">
Submit