<%= f.label field.attribute %>
<%= f.attachment_field field.attribute, presigned: field.presigned?, direct: field.direct? %>
<progress value="0" max="100"></progress>

<%= f.label field.attribute %>
<%= f.attachment_field field.attribute, presigned: field.presigned?, direct: field.direct? %>
<% if field.direct? %>
  <progress value="0" max="100"></progress>
<% end %>

Hide progress bar for a direct upload
Hide progress bar for a direct upload
