<%= stylesheet_link_tag *Spud::Core.config.admin_stylesheets %> <%= javascript_include_tag *Spud::Core.config.admin_javascripts %> <%= javascript_include_tag 'tinymce/tiny_mce_popup' %> <%= csrf_meta_tags %>
Upload Choose Advanced
<%= form_for :spud_media, :html => {:class => 'spud_media_picker_upload_form', :target => 'spud_media_picker_upload_target'} do |f| %> <%= f.label :attachment, 'Upload New File' %> <%= f.file_field :attachment%>
<%= f.submit 'Upload', :class => 'btn btn-mini btn-primary spud_media_picker_tab_upload_submit' %> <%= link_to 'Cancel', '#', :class => 'btn btn-mini spud_media_picker_button_cancel' %>
<% end %>
<%= render :partial => 'media', :collection => @media %>
  • File Name:
  • File Size:
  • Last Modified:
  • Protected:
<%= link_to 'Use Selected', '#', :class => 'btn btn-mini btn-primary spud_media_picker_button_use_selected' %> <%= link_to 'Cancel', '#', :class => 'btn btn-mini spud_media_picker_button_cancel' %>
px by px
<%= link_to 'Insert', '#', :class => 'btn btn-mini btn-primary spud_media_picker_button_insert' %> <%= link_to 'Cancel', '#', :class => 'btn btn-mini spud_media_picker_button_cancel' %>