Sha256: 356e3edb0633235a7b5cac92feac9b8f3c485f1d1d62cf9485595107cd907e0f
Contents?: true
Size: 388 Bytes
Versions: 10
Compression:
Stored size: 388 Bytes
Contents
module MotionPrime class TextFieldSection < BaseFieldSection element :label, type: :label do options[:label] || {} end element :input, type: :text_view do {editable: true}.merge(options[:input] || {}) end element :error_message, type: :error_message, text: proc { observing_errors? and all_errors.join("\n") } after_render :bind_text_input end end
Version data entries
10 entries across 10 versions & 1 rubygems