% if attachments.size.positive? %>
<%= t('protocols.steps.files', count: attachments.size) %>
<% attachments.each do |a| %>
<%= render partial: 'steps/attachments/new_attachment.html.erb',
locals: { file_url: a[:url], file_name: a[:name] } %>
<% end %>
<% end %>