use helper for attachments list

pull/6827/head
Jens Ulferts 6 years ago
parent e02aa6cc06
commit ef509e902c
No known key found for this signature in database
GPG Key ID: 3CAA4B1182CF5308
  1. 2
      app/views/my_projects_overviews/_block_textilizable.html.erb

@ -63,7 +63,7 @@ See doc/COPYRIGHT.md for more details.
</div>
</div>
<attachments data-resource="<%= resource.to_json %>" data-allow-uploading="true"></attachments>
<%= list_attachments(resource, true) %>
<%= styled_button_tag l(:button_save),
id: "#{block_name}-form-submit",

Loading…
Cancel
Save