app/views/media_entries/edit_multiple.html.haml
.app.view-edit-multiple-media-entries
= render "application/header"
.app-body
.app-body-title
.ui-body-title
.ui-body-title-label
%h1.title-xl
%i.icon-pen
= _("Edit metadata")
.app-body-ui-container
.bordered.ui-container.midtone.rounded-right.rounded-bottom.mbm
= render :partial => "media_resources/selection",
:locals => {:media_resources => @media_entries}
%form#edit-media-resource{:action => update_multiple_media_entries_path(:collection_id => params[:collection_id]), :method => :post, :autocomplete => :off}
= token_tag nil
= render :partial => "media_resources/edit/tabs"
.ui-container.tab-content.bordered.bright.rounded-right.rounded-bottom
.ui-container.phl.ptl
.app-body-content.table-cell.ui-container.table-substance.ui-container
= render :partial => "media_resources/edit/contexts"
.app-body-sidebar.table-cell.ui-container.table-side.pll
.ui-container.bordered.rounded
= render :partial => "media_entries/edit_multiple/legend"
.ui-actions.phl.pbl.mtl
%a.link.weak{:href => root_path}
= _("Cancel")
%button.primary-button.large
= _("Save")
.app-footer-push
= render :partial => "application/footer"
:coffeescript
jQuery ->
new App.MediaResourcesController.Edit
new App.FormBehaviours.ApplyToAll
el: $("#edit-media-resource")