<% if attachments.size.positive? %>

<%= t('protocols.steps.files', count: attachments.size) %>

<% attachments.each do |a| %> <%= render partial: 'assets/new_asset.html.erb', locals: { file_url: a[:url], file_name: a[:name] } %> <% end %>

<% end %>