Sha256: a60830e7398ae4bad5c4e220a70250b90b40ba45e46879f619b2301c1b4f65a9

Contents?: true

Size: 551 Bytes

Versions: 22

Compression:

Stored size: 551 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Admin
    module ExportsHelper
      # Renders an export dropdown for the provided feature, including an item
      # for each exportable artifact and format.
      #
      # feature - The feature to render the export dropdown for. Defaults to the
      #           current feature.
      #
      # Returns a rendered dropdown.
      def export_dropdown(feature = current_feature)
        render partial: "decidim/admin/exports/dropdown", locals: { feature: feature }
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
decidim-admin-0.5.1 app/helpers/decidim/admin/exports_helper.rb
decidim-0.5.1 decidim-admin/app/helpers/decidim/admin/exports_helper.rb
decidim-admin-0.5.0 app/helpers/decidim/admin/exports_helper.rb
decidim-0.5.0 decidim-admin/app/helpers/decidim/admin/exports_helper.rb
decidim-admin-0.4.4 app/helpers/decidim/admin/exports_helper.rb
decidim-0.4.4 decidim-admin/app/helpers/decidim/admin/exports_helper.rb
decidim-admin-0.4.3 app/helpers/decidim/admin/exports_helper.rb
decidim-admin-0.4.2 app/helpers/decidim/admin/exports_helper.rb
decidim-admin-0.4.1 app/helpers/decidim/admin/exports_helper.rb
decidim-0.4.3 decidim-admin/app/helpers/decidim/admin/exports_helper.rb
decidim-0.4.2 decidim-admin/app/helpers/decidim/admin/exports_helper.rb
decidim-0.4.1 decidim-admin/app/helpers/decidim/admin/exports_helper.rb
decidim-admin-0.4.0 app/helpers/decidim/admin/exports_helper.rb
decidim-0.4.0 decidim-admin/app/helpers/decidim/admin/exports_helper.rb
decidim-admin-0.3.2 app/helpers/decidim/admin/exports_helper.rb
decidim-0.3.2 decidim-admin/app/helpers/decidim/admin/exports_helper.rb
decidim-admin-0.3.1 app/helpers/decidim/admin/exports_helper.rb
decidim-0.3.1 decidim-admin/app/helpers/decidim/admin/exports_helper.rb
decidim-admin-0.3.0 app/helpers/decidim/admin/exports_helper.rb
decidim-0.3.0 decidim-admin/app/helpers/decidim/admin/exports_helper.rb