class TemplateForm::TextInput

Private Instance Methods

template_file() click to toggle source
Calls superclass method TemplateForm::BaseInput#template_file
# File lib/template_form/text_input.rb, line 8
def template_file
  if options[:type] == 'password'
    f = detect_template_path 'password_input'
    return f if f
  end
  super
end