Class: CafeCar::Inputs::PasswordInput

Inherits:
BaseInput
  • Object
show all
Defined in:
lib/cafe_car/inputs/password_input.rb

Overview

A masked <input type="password"> for has_secure_password digests.

Instance Attribute Summary

Attributes inherited from BaseInput

#args, #form, #method, #options, #template

Instance Method Summary collapse

Methods inherited from BaseInput

build, classes, #html_safe?, #info, #initialize, #render_options, #text_hints, #to_html, #to_s

Constructor Details

This class inherits a constructor from CafeCar::Inputs::BaseInput

Instance Method Details

#defaultsObject



6
# File 'lib/cafe_car/inputs/password_input.rb', line 6

def defaults = text_hints

#helperObject



5
# File 'lib/cafe_car/inputs/password_input.rb', line 5

def helper   = :password_field