Sha256: 2ab112d9c180e7535320b0e9f11e9bf34f21ebd64a5fd2ff362a2d4d3e366063

Contents?: true

Size: 253 Bytes

Versions: 6

Compression:

Stored size: 253 Bytes

Contents

require 'tilt'

module TemplateForm
  class TextInput < BaseInput

    private

    def template_file
      if options[:type] == 'password'
        f = detect_template_path 'password_input'
        return f if f
      end
      super
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
template_form-0.4.10 lib/template_form/text_input.rb
template_form-0.4.9 lib/template_form/text_input.rb
template_form-0.4.8 lib/template_form/text_input.rb
template_form-0.4.7 lib/template_form/text_input.rb
template_form-0.4.6 lib/template_form/text_input.rb
template_form-0.4.5 lib/template_form/text_input.rb