include link to easy edit option

This commit is contained in:
realaravinth 2021-12-18 20:53:47 +05:30
parent 7b0fe7c4b2
commit 56b05ec901
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88

View file

@ -1,6 +1,16 @@
<. const URL: &str = crate::V1_API_ROUTES.captcha.update; .>
<. const READONLY: bool = false; .>
<. include!("../view/__form-top.html"); .>
<. let edit_url = crate::PAGES.panel.sitekey.get_edit_easy(&key); .>
<. include!("../view/__form-container-setup.html"); .>
<div class="sitekey-form__advance-options-container">
<h1 class="form__title">Sitekey: <.= name .> </h1>
<a
class="sitekey-form__advance-options-link"
href="<.= edit_url .>">
Easy Options
</a>
</div>
<. include!("../view/__form-body.html"); .>
<. for (count, level) in levels.iter().enumerate() { .>
<. include!("./existing-level.html"); .>
<. } .>