diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-04-22 01:00:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-22 01:00:04 +0800 |
commit | f95622cddc8db24719d10794e50ae6b125e6b96e (patch) | |
tree | efee90209538f64a1b49139b150ae682f0b0a1b2 /templates/user | |
parent | e865de1e9d65dc09797d165a51c8e705d2a86030 (diff) | |
download | gitea-f95622cddc8db24719d10794e50ae6b125e6b96e.tar.gz gitea-f95622cddc8db24719d10794e50ae6b125e6b96e.zip |
Fix issue comment form and quick-submit (#30623)
1. Rewrite initGlobalEnterQuickSubmit (by the way, remove jQuery)
2. Fix issue comment form layout
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/settings/keys_ssh.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/settings/keys_ssh.tmpl b/templates/user/settings/keys_ssh.tmpl index d31cc81b66..a2af1b7f82 100644 --- a/templates/user/settings/keys_ssh.tmpl +++ b/templates/user/settings/keys_ssh.tmpl @@ -16,7 +16,7 @@ </div> <div class="field {{if .Err_Content}}error{{end}}"> <label for="ssh-key-content">{{ctx.Locale.Tr "settings.key_content"}}</label> - <textarea id="ssh-key-content" name="content" class="js-quick-submit" placeholder="{{ctx.Locale.Tr "settings.key_content_ssh_placeholder"}}" required>{{.content}}</textarea> + <textarea id="ssh-key-content" name="content" placeholder="{{ctx.Locale.Tr "settings.key_content_ssh_placeholder"}}" required>{{.content}}</textarea> </div> <input name="type" type="hidden" value="ssh"> <button class="ui primary button"> @@ -84,7 +84,7 @@ </div> <div class="field"> <label for="signature">{{ctx.Locale.Tr "settings.ssh_token_signature"}}</label> - <textarea id="ssh-key-signature" name="signature" class="js-quick-submit" placeholder="{{ctx.Locale.Tr "settings.key_signature_ssh_placeholder"}}" required>{{$.signature}}</textarea> + <textarea id="ssh-key-signature" name="signature" placeholder="{{ctx.Locale.Tr "settings.key_signature_ssh_placeholder"}}" required>{{$.signature}}</textarea> </div> <input name="type" type="hidden" value="verify_ssh"> <button class="ui primary button"> |