Sha256: aeeebc5920023953fdd4462fea846c4d3e5113ddd0eb7acda374cc0df21c9818
Contents?: true
Size: 387 Bytes
Versions: 15
Compression:
Stored size: 387 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.name.gsub('::', "").underscore }[#{ attribute_name }]" end end end
Version data entries
15 entries across 15 versions & 1 rubygems