<%= link_to I18n.t(:upload, scope: [:ckeditor, :buttons]), 'javascript:void(0)', class: "add" %>
<%= render partial: 'ckeditor/shared/asset', collection: @pictures.scoped %>
<% unless @pictures.last_page? %> <% end -%>