Sha256: d72e0a72206862e1e7faeba10a76a17d730c16e88705e1c45bb06eb517a3fab7

Contents?: true

Size: 367 Bytes

Versions: 3

Compression:

Stored size: 367 Bytes

Contents

module MotionPrime
  class PasswordFieldSection < BaseFieldSection
    element :label, type: :label do
      options[:label] || {}
    end
    element :input, type: :text_field do
      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

3 entries across 3 versions & 1 rubygems

Version Path
motion-prime-0.3.2 motion-prime/sections/form/password_field_section.rb
motion-prime-0.3.1 motion-prime/sections/form/password_field_section.rb
motion-prime-0.3.0 motion-prime/sections/form/password_field_section.rb