Sha256: 976daa65e011c427390cb13a49161db065ef4aa04f833b0f547b4ddff6c5bb82

Contents?: true

Size: 1.38 KB

Versions: 3

Compression:

Stored size: 1.38 KB

Contents

- @window_title = "Asset Library"
- @page_title = "#{link_to "Asset Library", admin_asset_category_path(:category => 'all' , :page => 1 )} > Add assets in bulk"

.row-fluid
  = render :partial => "/gluttonberg/admin/asset_library/shared/sidebar"
  .span9
    .row-fluid
      .page-header
        %h1
          = @page_title.html_safe

      .tabbable

      %ul.nav.nav-tabs
        %li
          %a{:href => "#{new_admin_asset_path}"}
            Add Asset
        %li.active
          %a{:href => "#{admin_add_assets_in_bulk_path}"  }
            Add Assets in Bulk
      .tab-content
        .tab-pane#add
          .pad
        .tab-pane.active#bulk
          .pad
            = form_for( @asset , :as => :asset , :url => { :action => :create_assets_in_bulk } ,  :html => { :multipart=>true  , :method => "post", :id => 'asset_bulk',  :class => "nosubnav validation"} ) do |asset_form|
              = gb_error_messages_for(@asset)

              = render :partial => "/gluttonberg/admin/asset_library/assets/collection_select_form" , :locals => {:asset_form => asset_form }

              %legend
                File
              %p
                = asset_form.label :file , "Please upload a zip folder. System will automatically give names to assets based on file names"
                = asset_form.file_field(:file , :class => "required")
              %p
                = form_controls(admin_assets_url)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/views/gluttonberg/admin/asset_library/assets_bulk/add_assets_in_bulk.html.haml
gluttonberg-core-3.0.1 app/views/gluttonberg/admin/asset_library/assets_bulk/add_assets_in_bulk.html.haml
gluttonberg-core-3.0.0 app/views/gluttonberg/admin/asset_library/assets_bulk/add_assets_in_bulk.html.haml