Sha256: 41a9e3e0d5fd9a507e86a21ab7ef6efa02bc79ef7a13c728e5ea40c71834ce7a
Contents?: true
Size: 385 Bytes
Versions: 8
Compression:
Stored size: 385 Bytes
Contents
module UiBibzInputs class UiTextFieldInput < StringInput include UiBibz::Ui::Core::Forms::Texts def input(wrapper_options) UiBibz::Ui::Core::Forms::Texts::TextField.new(input_attribute_name, options, input_html_options).render end def input_attribute_name "#{ @builder.object.class.to_s.parameterize.underscore }[#{ attribute_name }]" end end end
Version data entries
8 entries across 8 versions & 1 rubygems