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