summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJustin Nuß <justin.nuss@hmmh.de>2014-07-25 11:13:42 +0200
committerJustin Nuß <justin.nuss@hmmh.de>2014-07-25 11:13:42 +0200
commit12fb42de5a5b07ed8dffe91d9536615bbadeedea (patch)
tree447b1b7a2b7fec37d0409c4a6aa46fd8cd7b3fdc /templates
parent4e2477a1a5ae59ff4cb34d58eab74297b4ea2d24 (diff)
downloadgitea-12fb42de5a5b07ed8dffe91d9536615bbadeedea.tar.gz
gitea-12fb42de5a5b07ed8dffe91d9536615bbadeedea.zip
Fix IE bug and show errors.
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/create.tmpl2
-rw-r--r--templates/repo/issue/view.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/create.tmpl b/templates/repo/issue/create.tmpl
index ad86d4eafd..c018884272 100644
--- a/templates/repo/issue/create.tmpl
+++ b/templates/repo/issue/create.tmpl
@@ -95,7 +95,7 @@
<div class="tab-content">
<div class="tab-pane" id="issue-textarea">
<div class="form-group">
- <div id="submit-error"></div>
+ <div id="submit-error" class="text-danger"></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>
diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl
index b5d7228198..aec50ca62e 100644
--- a/templates/repo/issue/view.tmpl
+++ b/templates/repo/issue/view.tmpl
@@ -134,7 +134,7 @@
<div class="tab-content">
<div class="tab-pane" id="issue-textarea">
<div class="form-group">
- <div id="submit-error"></div>
+ <div id="submit-error" class="text-danger"></div>
<input type="hidden" value="{{.Issue.Index}}" name="issueIndex"/>
<textarea class="form-control" name="content" id="issue-reply-content" rows="10" placeholder="Write some content" data-ajax-rel="issue-preview" data-ajax-val="val" data-ajax-field="text">{{.content}}</textarea>
</div>