Sha256: 862a8449d2610b7823c689094a63459fd5c88f7a5d8569c72a58e7f09b021f74

Contents?: true

Size: 218 Bytes

Versions: 1

Compression:

Stored size: 218 Bytes

Contents

class Formation::Types::Password
  
  attr_reader :field
  
  def initialize(field)
    @field = field
  end
  
  def to_html
    <<-HTML.strip
      <input type="password" name="#{field.name}" />
    HTML
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formation-0.0.1 lib/formation/types/password.rb