diff options
-rw-r--r-- | templates/repo/issue/create.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/view.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/create.tmpl b/templates/repo/issue/create.tmpl index 3463d85ca8..1146a4664f 100644 --- a/templates/repo/issue/create.tmpl +++ b/templates/repo/issue/create.tmpl @@ -110,7 +110,7 @@ <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> + <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"/> diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl index 55f788bdba..a336205415 100644 --- a/templates/repo/issue/view.tmpl +++ b/templates/repo/issue/view.tmpl @@ -134,7 +134,7 @@ <div class="form-group"> <!-- <input type="hidden" name="attachments" value="" /> - <button data-accept="{{AllowedTypes}}" class="btn-default btn attachment-add" id="attachments-button">Add Attachments...</button> + <button data-accept="{{.AllowedTypes}}" class="btn-default btn attachment-add" id="attachments-button">Add Attachments...</button> --> {{if .IsIssueOwner}}{{if .Issue.IsClosed}} |