aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/create.tmpl
diff options
context:
space:
mode:
authorJustin Nuß <justin.nuss@hmmh.de>2014-07-25 10:47:37 +0200
committerJustin Nuß <justin.nuss@hmmh.de>2014-07-25 10:47:37 +0200
commit4e2477a1a5ae59ff4cb34d58eab74297b4ea2d24 (patch)
treefc9216380ac1db126db0022d08a70f3e80b58acc /templates/repo/issue/create.tmpl
parentf7617997cebd0f347415da47545fbf16e5d0653e (diff)
downloadgitea-4e2477a1a5ae59ff4cb34d58eab74297b4ea2d24.tar.gz
gitea-4e2477a1a5ae59ff4cb34d58eab74297b4ea2d24.zip
Fix #318. Switch to JS(ON) implementation for issue/comment creation.
Diffstat (limited to 'templates/repo/issue/create.tmpl')
-rw-r--r--templates/repo/issue/create.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/repo/issue/create.tmpl b/templates/repo/issue/create.tmpl
index 7705841708..ad86d4eafd 100644
--- a/templates/repo/issue/create.tmpl
+++ b/templates/repo/issue/create.tmpl
@@ -95,6 +95,7 @@
<div class="tab-content">
<div class="tab-pane" id="issue-textarea">
<div class="form-group">
+ <div id="submit-error"></div>
<textarea class="form-control" name="content" id="issue-content" rows="10" placeholder="Write some content" data-ajax-rel="issue-preview" data-ajax-val="val" data-ajax-field="text">{{.content}}</textarea>
</div>
</div>
@@ -103,7 +104,9 @@
</div>
{{if .AttachmentsEnabled}}
<div id="attached">
- <div id="attached-list"></div>
+ <div id="attached-list">
+ <b>Attachments:</b>
+ </div>
</div>
{{end}}
<div class="text-right panel-body">