mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-14 11:34:02 +00:00
edit sitekey, router pattern matching, sitekey update optimization, rm level delete and level err handling
This commit is contained in:
12
templates/panel/sitekey/edit/index.html
Normal file
12
templates/panel/sitekey/edit/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<. const URL: &str = crate::V1_API_ROUTES.levels.update; .>
|
||||
<. const READONLY: bool = false; .>
|
||||
<. include!("../view/__form-top.html"); .>
|
||||
<. for (count, level) in levels.iter().enumerate() { .>
|
||||
<. include!("./existing-level.html"); .>
|
||||
<. } .>
|
||||
<. let level = levels.len() + 1; .>
|
||||
<. include!("../add/add-level.html"); .>
|
||||
<button data-sitekey="<.= key .>" class="sitekey-form__submit" type="submit">
|
||||
Submit
|
||||
</button>
|
||||
<. include!("../view/__form-bottom.html"); .>
|
||||
Reference in New Issue
Block a user