Sha256: 906d645342f49cd1b975d92a18262dcaad9ad7b90fbf72e776ee34964113785f

Contents?: true

Size: 554 Bytes

Versions: 6

Compression:

Stored size: 554 Bytes

Contents

- if component.exportable?
  - component.exports.each do |export|
    .btn-group
      %button.btn.btn-default.dropdown-toggle{"aria-expanded" => "false", "data-toggle" => "dropdown", :type => "button"}
        %i.fa.fa-download
        = export_name_for(model, export)
        %span.caret
      %ul.dropdown-menu{:role => "menu"}
        - export[:formats].each do |format|
          %li
            = link_to component.relation_path(model.model_name.route_key, action: :export, format: format) do
              = t('para.export.as', extension: format)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
para-0.6.2 app/views/para/admin/resources/_exports_menu.html.haml
para-0.5.4 app/views/para/admin/resources/_exports_menu.html.haml
para-0.5.3 app/views/para/admin/resources/_exports_menu.html.haml
para-0.5.1 app/views/para/admin/resources/_exports_menu.html.haml
para-0.5.0 app/views/para/admin/resources/_exports_menu.html.haml
para-0.4.0 app/views/para/admin/resources/_exports_menu.html.haml