Sha256: 233124fc02d6ef21f911b96e2e85dab6aed5285af52b0c30e448985f79584824

Contents?: true

Size: 361 Bytes

Versions: 7

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class AttachmentsLinkTabCell < Decidim::ViewModel
    alias form model

    def show
      render :show
    end

    private

    def explanation
      I18n.t("decidim.forms.attachment_link.explanation")
    end

    def help_messages
      I18n.t("decidim.forms.attachment_link.help_messages")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.29.2 app/cells/decidim/attachments_link_tab_cell.rb
decidim-core-0.29.1 app/cells/decidim/attachments_link_tab_cell.rb
decidim-core-0.29.0 app/cells/decidim/attachments_link_tab_cell.rb
decidim-core-0.29.0.rc4 app/cells/decidim/attachments_link_tab_cell.rb
decidim-core-0.29.0.rc3 app/cells/decidim/attachments_link_tab_cell.rb
decidim-core-0.29.0.rc2 app/cells/decidim/attachments_link_tab_cell.rb
decidim-core-0.29.0.rc1 app/cells/decidim/attachments_link_tab_cell.rb