Sha256: 6b7acabe59c1ed0f88ce527c5f21317101acb40fc1e6ab95fa610fc1c445048c
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
- content_for :right_column do = render 'comfy/admin/cms/sites/mirrors' #cms-uploader #cms-uploader-drag-drop-target .page-header = link_to t('.new_link'), new_comfy_admin_cms_site_file_path(@site), :class => 'btn btn-default pull-right', id: 'cms-uploader-browse' %h2= t('.title') = render 'comfy/admin/cms/partials/files_before' = render :partial => 'comfy/admin/cms/categories/index', :object => 'Comfy::Cms::File' = comfy_paginate @files %table.table.table-hover.table-bordered %tbody.sortable.cms-uploader-filelist = render :partial => 'file', :collection => @files = render 'comfy/admin/cms/partials/files_after' = comfy_paginate @files :javascript $(function(){ window.CMS.uploader($("#cms-uploader"), { url: '#{comfy_admin_cms_site_files_path(@site, :source => :plupload, :category => params[:category])}', multipart_params: { '#{request_forgery_protection_token}': '#{form_authenticity_token}', '#{Rails.application.config.session_options[:key]}': '#{request.session_options[:id]}' } }); });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
comfortable_mexican_sofa-1.12.11 | app/views/comfy/admin/cms/files/index.html.haml |
comfortable_mexican_sofa-1.12.10 | app/views/comfy/admin/cms/files/index.html.haml |