app/views/media_entries/export/_xml.html.haml

Summary

Maintainability
Test Coverage
#xml.ui-export-block

  .col1of2
    %p
      = _("Current metadata as XML document.")

  .col1of2.by-right

    .dropdown.ui-dropdown.ui-export-drop-button.stick-right
      %a.button
        = _("XML document")
        %i.icon-arrow-down

      %ul.download.dropdown-menu.ui-drop-menu.ui-export-dropdown
        
        %li.ui-drop-item.by-right
          %a{:href => "/download?id=#{@media_entry.id}&type=xml"}
            %strong xml