Sha256: 50e03f38e92939385681e925bc7c1581439a6a09fd1c35ebfd0e5537bc1d91f8

Contents?: true

Size: 366 Bytes

Versions: 176

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true

module Primer
  module Forms
    # :nodoc:
    class FormList
      extend ActsAsComponent

      renders_template File.join(__dir__, "form_list.html.erb")

      def initialize(*forms)
        @forms = forms
      end

      def perform_render(&_block)
        self.class.compile!
        render_form_list
      end
    end
  end
end

Version data entries

176 entries across 176 versions & 2 rubygems

Version Path
primer_view_components-0.36.5 app/lib/primer/forms/form_list.rb
openproject-primer_view_components-0.52.2 app/lib/primer/forms/form_list.rb
primer_view_components-0.36.4 app/lib/primer/forms/form_list.rb
openproject-primer_view_components-0.52.1 app/lib/primer/forms/form_list.rb
openproject-primer_view_components-0.52.0 app/lib/primer/forms/form_list.rb
primer_view_components-0.36.3 app/lib/primer/forms/form_list.rb
openproject-primer_view_components-0.51.0 app/lib/primer/forms/form_list.rb
primer_view_components-0.36.2 app/lib/primer/forms/form_list.rb
openproject-primer_view_components-0.50.1 app/lib/primer/forms/form_list.rb
openproject-primer_view_components-0.50.0 app/lib/primer/forms/form_list.rb
primer_view_components-0.36.1 app/lib/primer/forms/form_list.rb
primer_view_components-0.36.0 app/lib/primer/forms/form_list.rb
openproject-primer_view_components-0.49.2 app/lib/primer/forms/form_list.rb
primer_view_components-0.35.2 app/lib/primer/forms/form_list.rb
openproject-primer_view_components-0.49.1 app/lib/primer/forms/form_list.rb
openproject-primer_view_components-0.49.0 app/lib/primer/forms/form_list.rb
primer_view_components-0.35.1 app/lib/primer/forms/form_list.rb
primer_view_components-0.35.0 app/lib/primer/forms/form_list.rb
openproject-primer_view_components-0.48.2 lib/primer/forms/form_list.rb
openproject-primer_view_components-0.48.1 lib/primer/forms/form_list.rb