Sha256: e837802b42b777e0a6e6d8a62cc38825daf84809d3db7d579186ff900a979bd5

Contents?: true

Size: 390 Bytes

Versions: 7

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # This cell only holds two partials needed to use the ToggleCell in the
  # invitations page.
  class InvitationsToggleCell < Decidim::ViewModel
    include LayoutHelper

    def show
      nil
    end

    def label
      render
    end

    def content
      render
    end

    private

    def form
      options[:form]
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.14.4 app/cells/decidim/invitations_toggle_cell.rb
decidim-core-0.14.3 app/cells/decidim/invitations_toggle_cell.rb
decidim-core-0.14.2 app/cells/decidim/invitations_toggle_cell.rb
decidim-core-0.14.1 app/cells/decidim/invitations_toggle_cell.rb
decidim-core-0.13.1 app/cells/decidim/invitations_toggle_cell.rb
decidim-core-0.13.0 app/cells/decidim/invitations_toggle_cell.rb
decidim-core-0.13.0.pre1 app/cells/decidim/invitations_toggle_cell.rb