Permalink
Browse files

Implement PasswordInput.

  • Loading branch information...
1 parent 5e9a6dc commit a4a116cc651de9885832812aeddff37aaa235cdc @mjbellantoni committed Sep 2, 2012
Showing with 7 additions and 7 deletions.
  1. +6 −6 lib/formtastic-bootstrap/inputs.rb
  2. +1 −1 spec/inputs/password_input_spec.rb
@@ -5,19 +5,19 @@ module Inputs
# autoload :Basic
autoload :BooleanInput, "formtastic-bootstrap/inputs/boolean_input"
autoload :CheckBoxesInput, "formtastic-bootstrap/inputs/check_boxes_input"
- # autoload :CountryInput # Come back to this.
+ # autoload :CountryInput # TODO Come back to this.
autoload :DateInput, "formtastic-bootstrap/inputs/date_input"
- # autoload :DatePickerInput # Come back to this.
- # autoload :DatetimePickerInput
+ # autoload :DatePickerInput # TODO Come back to this.
+ # autoload :DatetimePickerInput # TODO Come back to this.
autoload :DateSelectInput, "formtastic-bootstrap/inputs/date_select_input"
autoload :DatetimeInput, "formtastic-bootstrap/inputs/datetime_input"
autoload :DatetimeSelectInput, "formtastic-bootstrap/inputs/datetime_select_input"
autoload :EmailInput, "formtastic-bootstrap/inputs/email_input"
autoload :FileInput, "formtastic-bootstrap/inputs/file_input"
autoload :HiddenInput, "formtastic-bootstrap/inputs/hidden_input"
autoload :NumberInput, "formtastic-bootstrap/inputs/number_input"
- # autoload :NumericInput
- # autoload :PasswordInput
+ # autoload :NumericInput # TODO Where does Formtastic actually define this?
+ autoload :PasswordInput, "formtastic-bootstrap/inputs/password_input"
# autoload :PhoneInput
# autoload :RadioInput
# autoload :RangeInput
@@ -26,7 +26,7 @@ module Inputs
autoload :StringInput, "formtastic-bootstrap/inputs/string_input"
# autoload :TextInput
autoload :TimeInput, "formtastic-bootstrap/inputs/time_input"
- # autoload :TimePickerInput # Come back to this.
+ # autoload :TimePickerInput # TODO Come back to this.
autoload :TimeSelectInput, "formtastic-bootstrap/inputs/time_select_input"
# autoload :TimeZoneInput
# autoload :Timeish
@@ -71,7 +71,7 @@
end)
end
- it 'should index the id of the wrapper' do
+ it 'should index the id of the control-group' do
output_buffer.should have_tag("div.control-group#post_author_attributes_3_name_input")
end

0 comments on commit a4a116c

Please sign in to comment.