@@ -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"/>
@@ -134,7 +134,7 @@
- <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}}