Sha256: f1eba58bdd753b11a223575d5c30d0c35b2d338d874c765d3805d094fd61d3d0
Contents?: true
Size: 486 Bytes
Versions: 4
Compression:
Stored size: 486 Bytes
Contents
# frozen_string_literal: true module Maquina module Application module Components class InputComponent < ComponentBase def view_template div(**control_html) do @form.label attribute_name, class: "label #{label_css_class}" div(class: "mt-1") do @form.text_field attribute_name, **input_html help_template error_template end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems