summaryrefslogtreecommitdiffstats
path: root/templates/devtest/fomantic-modal.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/devtest/fomantic-modal.tmpl')
-rw-r--r--templates/devtest/fomantic-modal.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/devtest/fomantic-modal.tmpl b/templates/devtest/fomantic-modal.tmpl
index aaa4c2c12d..799bab7594 100644
--- a/templates/devtest/fomantic-modal.tmpl
+++ b/templates/devtest/fomantic-modal.tmpl
@@ -1,5 +1,18 @@
{{template "base/head" .}}
<div class="page-content devtest ui container">
+ {{template "base/alert" .}}
+
+ <button class="show-modal" data-modal="#test-modal-form">show modal form</button>
+ <div id="test-modal-form" class="ui mini modal">
+ <div class="header">Form dialog</div>
+ <form class="content" method="post">
+ <div class="ui input"><input name="user_input"></div>
+ {{template "base/modal_actions_confirm" (dict "locale" $.locale "ModalButtonTypes" "confirm")}}
+ </form>
+ </div>
+
+ <div class="divider"></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">