aboutsummaryrefslogtreecommitdiffstats
path: root/templates/devtest
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-09-12 01:06:05 +0800
committerGitHub <noreply@github.com>2023-09-11 17:06:05 +0000
commit1875362383eee4dde08376591495584313c3a39f (patch)
tree5c88c7735736b39475a04f3c969f26c017de91c5 /templates/devtest
parentebff0513dbe8abd2c9807789c006f41d002416b5 (diff)
downloadgitea-1875362383eee4dde08376591495584313c3a39f.tar.gz
gitea-1875362383eee4dde08376591495584313c3a39f.zip
Fix "delete" modal dialog for issue/PR (#27015)
Close #27012 By the way, rename the single-word ID to a long ID. ![image](https://github.com/go-gitea/gitea/assets/2114189/9f05ecc3-0a3d-4612-85e0-da60f7a45d2e) ![image](https://github.com/go-gitea/gitea/assets/2114189/9133808c-bd89-4265-99c5-83b986bd266f)
Diffstat (limited to 'templates/devtest')
-rw-r--r--templates/devtest/fomantic-modal.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/devtest/fomantic-modal.tmpl b/templates/devtest/fomantic-modal.tmpl
index b91b29f3cc..ec7d2cd215 100644
--- a/templates/devtest/fomantic-modal.tmpl
+++ b/templates/devtest/fomantic-modal.tmpl
@@ -30,6 +30,16 @@
</form>
</div>
+ <div id="test-modal-form-4" class="ui mini modal">
+ <div class="header">Form dialog (layout 4)</div>
+ <div class="content">
+ <div class="ui input gt-w-100"><input name="user_input"></div>
+ </div>
+ <form method="post">
+ {{template "base/modal_actions_confirm" (dict "locale" $.locale "ModalButtonTypes" "confirm")}}
+ </form>
+ </div>
+
<div class="ui g-modal-confirm modal" id="test-modal-default">
<div class="header">{{svg "octicon-file"}} Default dialog <span>title</span></div>
<div class="content">