diff options
author | Justin Nuß <nuss.justin@gmail.com> | 2014-07-23 21:24:24 +0200 |
---|---|---|
committer | Justin Nuß <nuss.justin@gmail.com> | 2014-07-23 21:24:24 +0200 |
commit | 34304e6a0c9a3904b999e3ae1fcc9e6518d3f026 (patch) | |
tree | b5b225396138e7fd68bff0f4e8f5123e4e148883 /templates/repo/issue/create.tmpl | |
parent | 4617bef8954deeef5bd2ba36d84aba3b05a4dd83 (diff) | |
download | gitea-34304e6a0c9a3904b999e3ae1fcc9e6518d3f026.tar.gz gitea-34304e6a0c9a3904b999e3ae1fcc9e6518d3f026.zip |
WIP: Allow attachments for issues, not only comments
Diffstat (limited to 'templates/repo/issue/create.tmpl')
-rw-r--r-- | templates/repo/issue/create.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/repo/issue/create.tmpl b/templates/repo/issue/create.tmpl index b548b1e749..b7f281c51d 100644 --- a/templates/repo/issue/create.tmpl +++ b/templates/repo/issue/create.tmpl @@ -101,8 +101,14 @@ <div class="tab-pane issue-preview-content" id="issue-preview">loading...</div> </div> </div> + <div> + <div id="attached"></div> + </div> <div class="text-right panel-body"> <div class="form-group"> + <input type="hidden" name="attachments" value="" /> + <button data-accept="{{AllowedTypes}}" data-comment-id="0" class="btn-default btn attachment-add" id="attachments-button">Add Attachments...</button> + <input type="hidden" value="id" name="repo-id"/> <button class="btn-success btn">Create new issue</button> </div> |