app/views/content/form/gallery/_panel.html.erb
<div class="row">
<div class="col s10 offset-s1">
<div>
<%= render partial: 'content/form/images/edit_list', locals: { content: content } %>
</div>
<div>
<h5>
Upload more images
<small class="grey-text">
<% if current_user.upload_bandwidth_kb > 0 %>
You have <%= Filesize.from("#{current_user.upload_bandwidth_kb}KB").pretty %> of bandwidth remaining.
<% else %>
You have no upload bandwidth remaining. Upgrade to Premium or delete some existing images for more.
<% end %>
</small>
</h5>
</div>
<div>
<%= render partial: 'content/form/images/upload', locals: { f: f, content: content } %>
</div>
<div>
<%= link_to_add_association "add another image", f,
:image_uploads,
partial: 'content/form/images/upload',
render_options: { locals: { f: f, content: content }}
%>
</div>
<br />
<p class="center">
<%= f.submit "Perform uploads", class: 'btn btn-large blue white-text' %>
</p>
<br />
<p class="grey-text">
Once you've selected your images, press the above button to upload them.
This will reload the page.
</p>
</div>
</div>