Sha256: 17f6ea0bcdd88482b41106ff763dea4156b843690965d03fa83bf627d22e274b
Contents?: true
Size: 366 Bytes
Versions: 2
Compression:
Stored size: 366 Bytes
Contents
# frozen_string_literal: true module Yattho 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.1.1 | lib/yattho/forms/form_list.rb |
yattho_view_components-0.0.1 | lib/yattho/forms/form_list.rb |