Sha256: 38b73ecac8562ece825dd5fb9a5f41b756a17d7d62f34f145fafc32a099d705a
Contents?: true
Size: 1.03 KB
Versions: 5
Compression:
Stored size: 1.03 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)}', multipart_params: { '#{request_forgery_protection_token}': '#{form_authenticity_token}', '#{Rails.application.config.session_options[:key]}': '#{request.session_options[:id]}' } }); });
Version data entries
5 entries across 5 versions & 1 rubygems