Sha256: fe7b81ee50315ac7bd58394e0b5f49e1990a1da864e34e7470035ce716ffb164
Contents?: true
Size: 657 Bytes
Versions: 27
Compression:
Stored size: 657 Bytes
Contents
<%= form_for [:admin, @picture], html: {multipart: true} do |f| %> <%= render 'alchemy/admin/partials/upload_form', { file_types: configuration(:uploader)['allowed_filetypes']['pictures'], file_types_description: _t(:images), redirect_url: admin_pictures_path( size: params[:size], filter: 'last_upload', element_id: @element ? @element.id : nil, content_id: @content ? @content.id : nil, options: @options ? @options.to_json : nil), model_name: 'picture', file_attribute: 'image_file', item_type: _t(:images) } %> <%= f.submit :upload, class: 'upload-button' %> <% end %>
Version data entries
27 entries across 27 versions & 2 rubygems