Sha256: 8c09aa1b4c29309669778d3e584d0c6ea4ef318ca5b03f3e230834d0f57c6a4f
Contents?: true
Size: 1.09 KB
Versions: 19
Compression:
Stored size: 1.09 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 .alert.alert-warning=t('images_need_seo_friendly_names') %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
19 entries across 19 versions & 1 rubygems