Sha256: 6dc2df9ca642945ffa2fbfb91745c4ecaa8b5a7b9ddbb3819a1be9b553781794

Contents?: true

Size: 576 Bytes

Versions: 27

Compression:

Stored size: 576 Bytes

Contents

<%= form_for [:admin, @attachment], html: {multipart: true} do |f| %>
  <%= render 'alchemy/admin/partials/upload_form', {
      file_types: configuration(:uploader)['allowed_filetypes']['attachments'],
      file_types_description: _t(:documents),
      redirect_url: admin_attachments_path(
        swap: @swap,
        element_id: @element ? @element.id : nil,
        content_id: @content ? @content.id : nil,
        options: @options ? @options.to_json : nil),
      model_name: 'attachment',
      file_attribute: 'file',
      item_type: _t(:files)
    } %>
<% end %>

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/attachments/new.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/attachments/new.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/attachments/new.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/attachments/new.html.erb