trailblazer / formular

Form builder for Ruby. Fast, Furious, and Framework-Agnostic.
MIT License
81 stars 17 forks source link

Password input is missing #30

Closed sergey-koba-mobidev closed 7 years ago

sergey-koba-mobidev commented 7 years ago

Hi, thank you for gem,

Am I unable to find or password input is missing ?

fran-worley commented 7 years ago

Hi @sergey-koba-mobidev I'm glad you've found it useful.

The gem is designed to reflect the HTML tags for inputs. A password field is actually an input tag with a type attribute of 'password' so to create a password field you can simply call f.input(type: :password)

The same applies for other input types like numbers, ranges, file fields etc.

sergey-koba-mobidev commented 7 years ago

Hm... sounds reasonable, closing this. Thank you!