Sha256: 8241ccba0c220bc8816361975504dcc26f864fc31151c5074ef48c48ed223a12
Contents?: true
Size: 440 Bytes
Versions: 11
Compression:
Stored size: 440 Bytes
Contents
module MotionPrime class PasswordFieldSection < BaseFieldSection element :label, type: :label do default_label_options end element :input, type: :text_field, delegate: proc { form.table_delegate } do {secure_text_entry: true}.merge(options[:input] || {}) end element :error_message, type: :error_message, text: proc { all_errors.join("\n") if observing_errors? } after_render :bind_text_input end end
Version data entries
11 entries across 11 versions & 1 rubygems