padrino_bootstrap_forms 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +6 -1
- data/Changes +8 -0
- data/README.markdown +6 -0
- data/lib/bootstrap_forms/form_builder.rb +60 -68
- data/lib/bootstrap_forms/helpers/form_helper.rb +2 -2
- data/lib/bootstrap_forms/helpers/form_tag_helper.rb +22 -16
- data/lib/bootstrap_forms/helpers/wrappers.rb +30 -23
- data/padrino_bootstrap_forms.gemspec +7 -5
- data/spec/app/app.rb +59 -0
- data/spec/app/views/erb/bootstrap_actions.erb +1 -0
- data/spec/app/views/erb/bootstrap_actions_with_block.erb +3 -0
- data/spec/app/views/erb/check_box.erb +1 -0
- data/spec/app/views/erb/check_box_tag.erb +1 -0
- data/spec/app/views/erb/check_box_tag_with_append.erb +1 -0
- data/spec/app/views/erb/check_box_tag_with_error.erb +1 -0
- data/spec/app/views/erb/check_box_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/check_box_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/check_box_tag_with_info.erb +1 -0
- data/spec/app/views/erb/check_box_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/check_box_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/check_box_tag_with_success.erb +1 -0
- data/spec/app/views/erb/check_box_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/check_box_with_append.erb +1 -0
- data/spec/app/views/erb/check_box_with_error.erb +1 -0
- data/spec/app/views/erb/check_box_with_help_block.erb +1 -0
- data/spec/app/views/erb/check_box_with_help_inline.erb +1 -0
- data/spec/app/views/erb/check_box_with_info.erb +1 -0
- data/spec/app/views/erb/check_box_with_success.erb +1 -0
- data/spec/app/views/erb/check_box_with_warning.erb +1 -0
- data/spec/app/views/erb/collection_check_boxes.erb +1 -0
- data/spec/app/views/erb/collection_check_boxes_with_checked.erb +2 -0
- data/spec/app/views/erb/collection_check_boxes_with_help_block.erb +1 -0
- data/spec/app/views/erb/collection_radio_buttons.erb +1 -0
- data/spec/app/views/erb/collection_radio_buttons_with_checked.erb +2 -0
- data/spec/app/views/erb/email_field.erb +1 -0
- data/spec/app/views/erb/email_field_tag.erb +1 -0
- data/spec/app/views/erb/email_field_tag_tag.erb +1 -0
- data/spec/app/views/erb/email_field_tag_with_append.erb +1 -0
- data/spec/app/views/erb/email_field_tag_with_error.erb +1 -0
- data/spec/app/views/erb/email_field_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/email_field_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/email_field_tag_with_info.erb +1 -0
- data/spec/app/views/erb/email_field_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/email_field_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/email_field_tag_with_success.erb +1 -0
- data/spec/app/views/erb/email_field_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/email_field_with_append.erb +1 -0
- data/spec/app/views/erb/email_field_with_error.erb +1 -0
- data/spec/app/views/erb/email_field_with_help_block.erb +1 -0
- data/spec/app/views/erb/email_field_with_help_inline.erb +1 -0
- data/spec/app/views/erb/email_field_with_info.erb +1 -0
- data/spec/app/views/erb/email_field_with_prepend.erb +1 -0
- data/spec/app/views/erb/email_field_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/email_field_with_success.erb +1 -0
- data/spec/app/views/erb/email_field_with_warning.erb +1 -0
- data/spec/app/views/erb/file_field.erb +1 -0
- data/spec/app/views/erb/file_field_tag.erb +1 -0
- data/spec/app/views/erb/file_field_tag_tag.erb +1 -0
- data/spec/app/views/erb/file_field_tag_with_append.erb +1 -0
- data/spec/app/views/erb/file_field_tag_with_error.erb +1 -0
- data/spec/app/views/erb/file_field_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/file_field_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/file_field_tag_with_info.erb +1 -0
- data/spec/app/views/erb/file_field_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/file_field_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/file_field_tag_with_success.erb +1 -0
- data/spec/app/views/erb/file_field_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/file_field_with_append.erb +1 -0
- data/spec/app/views/erb/file_field_with_error.erb +1 -0
- data/spec/app/views/erb/file_field_with_help_block.erb +1 -0
- data/spec/app/views/erb/file_field_with_help_inline.erb +1 -0
- data/spec/app/views/erb/file_field_with_info.erb +1 -0
- data/spec/app/views/erb/file_field_with_prepend.erb +1 -0
- data/spec/app/views/erb/file_field_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/file_field_with_success.erb +1 -0
- data/spec/app/views/erb/file_field_with_warning.erb +1 -0
- data/spec/app/views/erb/label_field.erb +1 -0
- data/spec/app/views/erb/number_field.erb +1 -0
- data/spec/app/views/erb/number_field_tag.erb +1 -0
- data/spec/app/views/erb/number_field_tag_tag.erb +1 -0
- data/spec/app/views/erb/number_field_tag_with_append.erb +1 -0
- data/spec/app/views/erb/number_field_tag_with_error.erb +1 -0
- data/spec/app/views/erb/number_field_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/number_field_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/number_field_tag_with_info.erb +1 -0
- data/spec/app/views/erb/number_field_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/number_field_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/number_field_tag_with_success.erb +1 -0
- data/spec/app/views/erb/number_field_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/number_field_with_append.erb +1 -0
- data/spec/app/views/erb/number_field_with_error.erb +1 -0
- data/spec/app/views/erb/number_field_with_help_block.erb +1 -0
- data/spec/app/views/erb/number_field_with_help_inline.erb +1 -0
- data/spec/app/views/erb/number_field_with_info.erb +1 -0
- data/spec/app/views/erb/number_field_with_prepend.erb +1 -0
- data/spec/app/views/erb/number_field_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/number_field_with_success.erb +1 -0
- data/spec/app/views/erb/number_field_with_warning.erb +1 -0
- data/spec/app/views/erb/password_field.erb +1 -0
- data/spec/app/views/erb/password_field_tag.erb +1 -0
- data/spec/app/views/erb/password_field_tag_tag.erb +1 -0
- data/spec/app/views/erb/password_field_tag_with_append.erb +1 -0
- data/spec/app/views/erb/password_field_tag_with_error.erb +1 -0
- data/spec/app/views/erb/password_field_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/password_field_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/password_field_tag_with_info.erb +1 -0
- data/spec/app/views/erb/password_field_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/password_field_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/password_field_tag_with_success.erb +1 -0
- data/spec/app/views/erb/password_field_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/password_field_with_append.erb +1 -0
- data/spec/app/views/erb/password_field_with_error.erb +1 -0
- data/spec/app/views/erb/password_field_with_help_block.erb +1 -0
- data/spec/app/views/erb/password_field_with_help_inline.erb +1 -0
- data/spec/app/views/erb/password_field_with_info.erb +1 -0
- data/spec/app/views/erb/password_field_with_prepend.erb +1 -0
- data/spec/app/views/erb/password_field_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/password_field_with_success.erb +1 -0
- data/spec/app/views/erb/password_field_with_warning.erb +1 -0
- data/spec/app/views/erb/phone_field.erb +1 -0
- data/spec/app/views/erb/phone_field_tag.erb +1 -0
- data/spec/app/views/erb/phone_field_tag_tag.erb +1 -0
- data/spec/app/views/erb/phone_field_tag_with_append.erb +1 -0
- data/spec/app/views/erb/phone_field_tag_with_error.erb +1 -0
- data/spec/app/views/erb/phone_field_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/phone_field_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/phone_field_tag_with_info.erb +1 -0
- data/spec/app/views/erb/phone_field_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/phone_field_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/phone_field_tag_with_success.erb +1 -0
- data/spec/app/views/erb/phone_field_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/phone_field_with_append.erb +1 -0
- data/spec/app/views/erb/phone_field_with_error.erb +1 -0
- data/spec/app/views/erb/phone_field_with_help_block.erb +1 -0
- data/spec/app/views/erb/phone_field_with_help_inline.erb +1 -0
- data/spec/app/views/erb/phone_field_with_info.erb +1 -0
- data/spec/app/views/erb/phone_field_with_prepend.erb +1 -0
- data/spec/app/views/erb/phone_field_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/phone_field_with_success.erb +1 -0
- data/spec/app/views/erb/phone_field_with_warning.erb +1 -0
- data/spec/app/views/erb/radio_buttons.erb +1 -0
- data/spec/app/views/erb/radio_buttons_with_error.erb +1 -0
- data/spec/app/views/erb/search_field.erb +1 -0
- data/spec/app/views/erb/search_field_tag.erb +1 -0
- data/spec/app/views/erb/search_field_tag_tag.erb +1 -0
- data/spec/app/views/erb/search_field_tag_with_append.erb +1 -0
- data/spec/app/views/erb/search_field_tag_with_error.erb +1 -0
- data/spec/app/views/erb/search_field_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/search_field_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/search_field_tag_with_info.erb +1 -0
- data/spec/app/views/erb/search_field_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/search_field_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/search_field_tag_with_success.erb +1 -0
- data/spec/app/views/erb/search_field_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/search_field_with_append.erb +1 -0
- data/spec/app/views/erb/search_field_with_error.erb +1 -0
- data/spec/app/views/erb/search_field_with_help_block.erb +1 -0
- data/spec/app/views/erb/search_field_with_help_inline.erb +1 -0
- data/spec/app/views/erb/search_field_with_info.erb +1 -0
- data/spec/app/views/erb/search_field_with_prepend.erb +1 -0
- data/spec/app/views/erb/search_field_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/search_field_with_success.erb +1 -0
- data/spec/app/views/erb/search_field_with_warning.erb +1 -0
- data/spec/app/views/erb/select.erb +1 -0
- data/spec/app/views/erb/select_tag.erb +1 -0
- data/spec/app/views/erb/select_tag_tag.erb +1 -0
- data/spec/app/views/erb/select_tag_with_append.erb +1 -0
- data/spec/app/views/erb/select_tag_with_error.erb +1 -0
- data/spec/app/views/erb/select_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/select_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/select_tag_with_info.erb +1 -0
- data/spec/app/views/erb/select_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/select_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/select_tag_with_success.erb +1 -0
- data/spec/app/views/erb/select_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/select_with_append.erb +1 -0
- data/spec/app/views/erb/select_with_error.erb +1 -0
- data/spec/app/views/erb/select_with_help_block.erb +1 -0
- data/spec/app/views/erb/select_with_help_inline.erb +1 -0
- data/spec/app/views/erb/select_with_info.erb +1 -0
- data/spec/app/views/erb/select_with_prepend.erb +1 -0
- data/spec/app/views/erb/select_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/select_with_success.erb +1 -0
- data/spec/app/views/erb/select_with_warning.erb +1 -0
- data/spec/app/views/erb/telephone_field_tag.erb +1 -0
- data/spec/app/views/erb/telephone_field_tag_tag.erb +1 -0
- data/spec/app/views/erb/telephone_field_tag_with_append.erb +1 -0
- data/spec/app/views/erb/telephone_field_tag_with_error.erb +1 -0
- data/spec/app/views/erb/telephone_field_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/telephone_field_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/telephone_field_tag_with_info.erb +1 -0
- data/spec/app/views/erb/telephone_field_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/telephone_field_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/telephone_field_tag_with_success.erb +1 -0
- data/spec/app/views/erb/telephone_field_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/text_area.erb +1 -0
- data/spec/app/views/erb/text_area_tag.erb +1 -0
- data/spec/app/views/erb/text_area_tag_tag.erb +1 -0
- data/spec/app/views/erb/text_area_tag_with_append.erb +1 -0
- data/spec/app/views/erb/text_area_tag_with_error.erb +1 -0
- data/spec/app/views/erb/text_area_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/text_area_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/text_area_tag_with_info.erb +1 -0
- data/spec/app/views/erb/text_area_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/text_area_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/text_area_tag_with_success.erb +1 -0
- data/spec/app/views/erb/text_area_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/text_area_with_append.erb +1 -0
- data/spec/app/views/erb/text_area_with_error.erb +1 -0
- data/spec/app/views/erb/text_area_with_help_block.erb +1 -0
- data/spec/app/views/erb/text_area_with_help_inline.erb +1 -0
- data/spec/app/views/erb/text_area_with_info.erb +1 -0
- data/spec/app/views/erb/text_area_with_prepend.erb +1 -0
- data/spec/app/views/erb/text_area_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/text_area_with_success.erb +1 -0
- data/spec/app/views/erb/text_area_with_warning.erb +1 -0
- data/spec/app/views/erb/text_field.erb +1 -0
- data/spec/app/views/erb/text_field_tag.erb +1 -0
- data/spec/app/views/erb/text_field_tag_tag.erb +1 -0
- data/spec/app/views/erb/text_field_tag_with_append.erb +1 -0
- data/spec/app/views/erb/text_field_tag_with_error.erb +1 -0
- data/spec/app/views/erb/text_field_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/text_field_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/text_field_tag_with_info.erb +1 -0
- data/spec/app/views/erb/text_field_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/text_field_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/text_field_tag_with_success.erb +1 -0
- data/spec/app/views/erb/text_field_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/text_field_with_append.erb +1 -0
- data/spec/app/views/erb/text_field_with_error.erb +1 -0
- data/spec/app/views/erb/text_field_with_help_block.erb +1 -0
- data/spec/app/views/erb/text_field_with_help_inline.erb +1 -0
- data/spec/app/views/erb/text_field_with_info.erb +1 -0
- data/spec/app/views/erb/text_field_with_prepend.erb +1 -0
- data/spec/app/views/erb/text_field_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/text_field_with_success.erb +1 -0
- data/spec/app/views/erb/text_field_with_warning.erb +1 -0
- data/spec/app/views/erb/uneditable_input.erb +1 -0
- data/spec/app/views/erb/uneditable_input_tag.erb +1 -0
- data/spec/app/views/erb/uneditable_input_tag_with_append.erb +1 -0
- data/spec/app/views/erb/uneditable_input_tag_with_error.erb +1 -0
- data/spec/app/views/erb/uneditable_input_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/uneditable_input_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/uneditable_input_tag_with_info.erb +1 -0
- data/spec/app/views/erb/uneditable_input_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/uneditable_input_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/uneditable_input_tag_with_success.erb +1 -0
- data/spec/app/views/erb/uneditable_input_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/uneditable_input_with_append.erb +1 -0
- data/spec/app/views/erb/uneditable_input_with_error.erb +1 -0
- data/spec/app/views/erb/uneditable_input_with_help_block.erb +1 -0
- data/spec/app/views/erb/uneditable_input_with_help_inline.erb +1 -0
- data/spec/app/views/erb/uneditable_input_with_info.erb +1 -0
- data/spec/app/views/erb/uneditable_input_with_prepend.erb +1 -0
- data/spec/app/views/erb/uneditable_input_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/uneditable_input_with_success.erb +1 -0
- data/spec/app/views/erb/uneditable_input_with_warning.erb +1 -0
- data/spec/app/views/erb/url_field.erb +1 -0
- data/spec/app/views/erb/url_field_tag.erb +1 -0
- data/spec/app/views/erb/url_field_tag_tag.erb +1 -0
- data/spec/app/views/erb/url_field_tag_with_append.erb +1 -0
- data/spec/app/views/erb/url_field_tag_with_error.erb +1 -0
- data/spec/app/views/erb/url_field_tag_with_help_block.erb +1 -0
- data/spec/app/views/erb/url_field_tag_with_help_inline.erb +1 -0
- data/spec/app/views/erb/url_field_tag_with_info.erb +1 -0
- data/spec/app/views/erb/url_field_tag_with_prepend.erb +1 -0
- data/spec/app/views/erb/url_field_tag_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/url_field_tag_with_success.erb +1 -0
- data/spec/app/views/erb/url_field_tag_with_warning.erb +1 -0
- data/spec/app/views/erb/url_field_with_append.erb +1 -0
- data/spec/app/views/erb/url_field_with_error.erb +1 -0
- data/spec/app/views/erb/url_field_with_help_block.erb +1 -0
- data/spec/app/views/erb/url_field_with_help_inline.erb +1 -0
- data/spec/app/views/erb/url_field_with_info.erb +1 -0
- data/spec/app/views/erb/url_field_with_prepend.erb +1 -0
- data/spec/app/views/erb/url_field_with_prepend_append_and_help_inline.erb +1 -0
- data/spec/app/views/erb/url_field_with_success.erb +1 -0
- data/spec/app/views/erb/url_field_with_warning.erb +1 -0
- data/spec/app/views/haml/bootstrap_actions.haml +1 -0
- data/spec/app/views/haml/bootstrap_actions_with_block.haml +2 -0
- data/spec/app/views/haml/check_box.haml +1 -0
- data/spec/app/views/haml/check_box_tag.haml +1 -0
- data/spec/app/views/haml/check_box_tag_with_append.haml +1 -0
- data/spec/app/views/haml/check_box_tag_with_error.haml +1 -0
- data/spec/app/views/haml/check_box_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/check_box_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/check_box_tag_with_info.haml +1 -0
- data/spec/app/views/haml/check_box_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/check_box_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/check_box_tag_with_success.haml +1 -0
- data/spec/app/views/haml/check_box_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/check_box_with_append.haml +1 -0
- data/spec/app/views/haml/check_box_with_error.haml +1 -0
- data/spec/app/views/haml/check_box_with_help_block.haml +1 -0
- data/spec/app/views/haml/check_box_with_help_inline.haml +1 -0
- data/spec/app/views/haml/check_box_with_info.haml +1 -0
- data/spec/app/views/haml/check_box_with_success.haml +1 -0
- data/spec/app/views/haml/check_box_with_warning.haml +1 -0
- data/spec/app/views/haml/collection_check_boxes.haml +1 -0
- data/spec/app/views/haml/collection_check_boxes_with_checked.haml +2 -0
- data/spec/app/views/haml/collection_check_boxes_with_help_block.haml +1 -0
- data/spec/app/views/haml/collection_radio_buttons.haml +1 -0
- data/spec/app/views/haml/collection_radio_buttons_with_checked.haml +2 -0
- data/spec/app/views/haml/email_field.haml +1 -0
- data/spec/app/views/haml/email_field_tag.haml +1 -0
- data/spec/app/views/haml/email_field_tag_tag.haml +1 -0
- data/spec/app/views/haml/email_field_tag_with_append.haml +1 -0
- data/spec/app/views/haml/email_field_tag_with_error.haml +1 -0
- data/spec/app/views/haml/email_field_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/email_field_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/email_field_tag_with_info.haml +1 -0
- data/spec/app/views/haml/email_field_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/email_field_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/email_field_tag_with_success.haml +1 -0
- data/spec/app/views/haml/email_field_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/email_field_with_append.haml +1 -0
- data/spec/app/views/haml/email_field_with_error.haml +1 -0
- data/spec/app/views/haml/email_field_with_help_block.haml +1 -0
- data/spec/app/views/haml/email_field_with_help_inline.haml +1 -0
- data/spec/app/views/haml/email_field_with_info.haml +1 -0
- data/spec/app/views/haml/email_field_with_prepend.haml +1 -0
- data/spec/app/views/haml/email_field_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/email_field_with_success.haml +1 -0
- data/spec/app/views/haml/email_field_with_warning.haml +1 -0
- data/spec/app/views/haml/file_field.haml +1 -0
- data/spec/app/views/haml/file_field_tag.haml +1 -0
- data/spec/app/views/haml/file_field_tag_tag.haml +1 -0
- data/spec/app/views/haml/file_field_tag_with_append.haml +1 -0
- data/spec/app/views/haml/file_field_tag_with_error.haml +1 -0
- data/spec/app/views/haml/file_field_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/file_field_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/file_field_tag_with_info.haml +1 -0
- data/spec/app/views/haml/file_field_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/file_field_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/file_field_tag_with_success.haml +1 -0
- data/spec/app/views/haml/file_field_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/file_field_with_append.haml +1 -0
- data/spec/app/views/haml/file_field_with_error.haml +1 -0
- data/spec/app/views/haml/file_field_with_help_block.haml +1 -0
- data/spec/app/views/haml/file_field_with_help_inline.haml +1 -0
- data/spec/app/views/haml/file_field_with_info.haml +1 -0
- data/spec/app/views/haml/file_field_with_prepend.haml +1 -0
- data/spec/app/views/haml/file_field_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/file_field_with_success.haml +1 -0
- data/spec/app/views/haml/file_field_with_warning.haml +1 -0
- data/spec/app/views/haml/number_field.haml +1 -0
- data/spec/app/views/haml/number_field_tag.haml +1 -0
- data/spec/app/views/haml/number_field_tag_tag.haml +1 -0
- data/spec/app/views/haml/number_field_tag_with_append.haml +1 -0
- data/spec/app/views/haml/number_field_tag_with_error.haml +1 -0
- data/spec/app/views/haml/number_field_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/number_field_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/number_field_tag_with_info.haml +1 -0
- data/spec/app/views/haml/number_field_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/number_field_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/number_field_tag_with_success.haml +1 -0
- data/spec/app/views/haml/number_field_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/number_field_with_append.haml +1 -0
- data/spec/app/views/haml/number_field_with_error.haml +1 -0
- data/spec/app/views/haml/number_field_with_help_block.haml +1 -0
- data/spec/app/views/haml/number_field_with_help_inline.haml +1 -0
- data/spec/app/views/haml/number_field_with_info.haml +1 -0
- data/spec/app/views/haml/number_field_with_prepend.haml +1 -0
- data/spec/app/views/haml/number_field_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/number_field_with_success.haml +1 -0
- data/spec/app/views/haml/number_field_with_warning.haml +1 -0
- data/spec/app/views/haml/password_field.haml +1 -0
- data/spec/app/views/haml/password_field_tag.haml +1 -0
- data/spec/app/views/haml/password_field_tag_tag.haml +1 -0
- data/spec/app/views/haml/password_field_tag_with_append.haml +1 -0
- data/spec/app/views/haml/password_field_tag_with_error.haml +1 -0
- data/spec/app/views/haml/password_field_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/password_field_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/password_field_tag_with_info.haml +1 -0
- data/spec/app/views/haml/password_field_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/password_field_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/password_field_tag_with_success.haml +1 -0
- data/spec/app/views/haml/password_field_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/password_field_with_append.haml +1 -0
- data/spec/app/views/haml/password_field_with_error.haml +1 -0
- data/spec/app/views/haml/password_field_with_help_block.haml +1 -0
- data/spec/app/views/haml/password_field_with_help_inline.haml +1 -0
- data/spec/app/views/haml/password_field_with_info.haml +1 -0
- data/spec/app/views/haml/password_field_with_prepend.haml +1 -0
- data/spec/app/views/haml/password_field_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/password_field_with_success.haml +1 -0
- data/spec/app/views/haml/password_field_with_warning.haml +1 -0
- data/spec/app/views/haml/phone_field.haml +1 -0
- data/spec/app/views/haml/phone_field_tag.haml +1 -0
- data/spec/app/views/haml/phone_field_tag_tag.haml +1 -0
- data/spec/app/views/haml/phone_field_tag_with_append.haml +1 -0
- data/spec/app/views/haml/phone_field_tag_with_error.haml +1 -0
- data/spec/app/views/haml/phone_field_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/phone_field_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/phone_field_tag_with_info.haml +1 -0
- data/spec/app/views/haml/phone_field_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/phone_field_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/phone_field_tag_with_success.haml +1 -0
- data/spec/app/views/haml/phone_field_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/phone_field_with_append.haml +1 -0
- data/spec/app/views/haml/phone_field_with_error.haml +1 -0
- data/spec/app/views/haml/phone_field_with_help_block.haml +1 -0
- data/spec/app/views/haml/phone_field_with_help_inline.haml +1 -0
- data/spec/app/views/haml/phone_field_with_info.haml +1 -0
- data/spec/app/views/haml/phone_field_with_prepend.haml +1 -0
- data/spec/app/views/haml/phone_field_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/phone_field_with_success.haml +1 -0
- data/spec/app/views/haml/phone_field_with_warning.haml +1 -0
- data/spec/app/views/haml/radio_buttons.haml +1 -0
- data/spec/app/views/haml/radio_buttons_with_error.haml +1 -0
- data/spec/app/views/haml/search_field.haml +1 -0
- data/spec/app/views/haml/search_field_tag.haml +1 -0
- data/spec/app/views/haml/search_field_tag_tag.haml +1 -0
- data/spec/app/views/haml/search_field_tag_with_append.haml +1 -0
- data/spec/app/views/haml/search_field_tag_with_error.haml +1 -0
- data/spec/app/views/haml/search_field_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/search_field_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/search_field_tag_with_info.haml +1 -0
- data/spec/app/views/haml/search_field_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/search_field_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/search_field_tag_with_success.haml +1 -0
- data/spec/app/views/haml/search_field_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/search_field_with_append.haml +1 -0
- data/spec/app/views/haml/search_field_with_error.haml +1 -0
- data/spec/app/views/haml/search_field_with_help_block.haml +1 -0
- data/spec/app/views/haml/search_field_with_help_inline.haml +1 -0
- data/spec/app/views/haml/search_field_with_info.haml +1 -0
- data/spec/app/views/haml/search_field_with_prepend.haml +1 -0
- data/spec/app/views/haml/search_field_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/search_field_with_success.haml +1 -0
- data/spec/app/views/haml/search_field_with_warning.haml +1 -0
- data/spec/app/views/haml/select.haml +1 -0
- data/spec/app/views/haml/select_tag.haml +1 -0
- data/spec/app/views/haml/select_tag_with_append.haml +1 -0
- data/spec/app/views/haml/select_tag_with_error.haml +1 -0
- data/spec/app/views/haml/select_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/select_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/select_tag_with_info.haml +1 -0
- data/spec/app/views/haml/select_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/select_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/select_tag_with_success.haml +1 -0
- data/spec/app/views/haml/select_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/select_with_append.haml +1 -0
- data/spec/app/views/haml/select_with_error.haml +1 -0
- data/spec/app/views/haml/select_with_help_block.haml +1 -0
- data/spec/app/views/haml/select_with_help_inline.haml +1 -0
- data/spec/app/views/haml/select_with_info.haml +1 -0
- data/spec/app/views/haml/select_with_prepend.haml +1 -0
- data/spec/app/views/haml/select_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/select_with_success.haml +1 -0
- data/spec/app/views/haml/select_with_warning.haml +1 -0
- data/spec/app/views/haml/telephone_field.haml +1 -0
- data/spec/app/views/haml/telephone_field_tag.haml +1 -0
- data/spec/app/views/haml/telephone_field_tag_tag.haml +1 -0
- data/spec/app/views/haml/telephone_field_tag_with_append.haml +1 -0
- data/spec/app/views/haml/telephone_field_tag_with_error.haml +1 -0
- data/spec/app/views/haml/telephone_field_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/telephone_field_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/telephone_field_tag_with_info.haml +1 -0
- data/spec/app/views/haml/telephone_field_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/telephone_field_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/telephone_field_tag_with_success.haml +1 -0
- data/spec/app/views/haml/telephone_field_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/telephone_field_with_append.haml +1 -0
- data/spec/app/views/haml/telephone_field_with_error.haml +1 -0
- data/spec/app/views/haml/telephone_field_with_help_block.haml +1 -0
- data/spec/app/views/haml/telephone_field_with_help_inline.haml +1 -0
- data/spec/app/views/haml/telephone_field_with_info.haml +1 -0
- data/spec/app/views/haml/telephone_field_with_prepend.haml +1 -0
- data/spec/app/views/haml/telephone_field_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/telephone_field_with_success.haml +1 -0
- data/spec/app/views/haml/telephone_field_with_warning.haml +1 -0
- data/spec/app/views/haml/text_area.haml +1 -0
- data/spec/app/views/haml/text_area_field.haml +1 -0
- data/spec/app/views/haml/text_area_field_with_append.haml +1 -0
- data/spec/app/views/haml/text_area_field_with_error.haml +1 -0
- data/spec/app/views/haml/text_area_field_with_help_block.haml +1 -0
- data/spec/app/views/haml/text_area_field_with_help_inline.haml +1 -0
- data/spec/app/views/haml/text_area_field_with_info.haml +1 -0
- data/spec/app/views/haml/text_area_field_with_prepend.haml +1 -0
- data/spec/app/views/haml/text_area_field_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/text_area_field_with_success.haml +1 -0
- data/spec/app/views/haml/text_area_field_with_warning.haml +1 -0
- data/spec/app/views/haml/text_area_tag.haml +1 -0
- data/spec/app/views/haml/text_area_tag_tag.haml +1 -0
- data/spec/app/views/haml/text_area_tag_with_append.haml +1 -0
- data/spec/app/views/haml/text_area_tag_with_error.haml +1 -0
- data/spec/app/views/haml/text_area_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/text_area_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/text_area_tag_with_info.haml +1 -0
- data/spec/app/views/haml/text_area_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/text_area_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/text_area_tag_with_success.haml +1 -0
- data/spec/app/views/haml/text_area_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/text_area_with_append.haml +1 -0
- data/spec/app/views/haml/text_area_with_error.haml +1 -0
- data/spec/app/views/haml/text_area_with_help_block.haml +1 -0
- data/spec/app/views/haml/text_area_with_help_inline.haml +1 -0
- data/spec/app/views/haml/text_area_with_info.haml +1 -0
- data/spec/app/views/haml/text_area_with_prepend.haml +1 -0
- data/spec/app/views/haml/text_area_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/text_area_with_success.haml +1 -0
- data/spec/app/views/haml/text_area_with_warning.haml +1 -0
- data/spec/app/views/haml/text_field.haml +1 -0
- data/spec/app/views/haml/text_field_tag.haml +1 -0
- data/spec/app/views/haml/text_field_tag_tag.haml +1 -0
- data/spec/app/views/haml/text_field_tag_with_append.haml +1 -0
- data/spec/app/views/haml/text_field_tag_with_error.haml +1 -0
- data/spec/app/views/haml/text_field_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/text_field_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/text_field_tag_with_info.haml +1 -0
- data/spec/app/views/haml/text_field_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/text_field_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/text_field_tag_with_success.haml +1 -0
- data/spec/app/views/haml/text_field_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/text_field_with_append.haml +1 -0
- data/spec/app/views/haml/text_field_with_error.haml +1 -0
- data/spec/app/views/haml/text_field_with_help_block.haml +1 -0
- data/spec/app/views/haml/text_field_with_help_inline.haml +1 -0
- data/spec/app/views/haml/text_field_with_info.haml +1 -0
- data/spec/app/views/haml/text_field_with_prepend.haml +1 -0
- data/spec/app/views/haml/text_field_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/text_field_with_success.haml +1 -0
- data/spec/app/views/haml/text_field_with_warning.haml +1 -0
- data/spec/app/views/haml/uneditable_input.haml +1 -0
- data/spec/app/views/haml/uneditable_input_tag.haml +1 -0
- data/spec/app/views/haml/uneditable_input_tag_with_append.haml +1 -0
- data/spec/app/views/haml/uneditable_input_tag_with_error.haml +1 -0
- data/spec/app/views/haml/uneditable_input_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/uneditable_input_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/uneditable_input_tag_with_info.haml +1 -0
- data/spec/app/views/haml/uneditable_input_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/uneditable_input_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/uneditable_input_tag_with_success.haml +1 -0
- data/spec/app/views/haml/uneditable_input_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/uneditable_input_with_append.haml +1 -0
- data/spec/app/views/haml/uneditable_input_with_error.haml +1 -0
- data/spec/app/views/haml/uneditable_input_with_help_block.haml +1 -0
- data/spec/app/views/haml/uneditable_input_with_help_inline.haml +1 -0
- data/spec/app/views/haml/uneditable_input_with_info.haml +1 -0
- data/spec/app/views/haml/uneditable_input_with_prepend.haml +1 -0
- data/spec/app/views/haml/uneditable_input_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/uneditable_input_with_success.haml +1 -0
- data/spec/app/views/haml/uneditable_input_with_warning.haml +1 -0
- data/spec/app/views/haml/url_field.haml +1 -0
- data/spec/app/views/haml/url_field_tag.haml +1 -0
- data/spec/app/views/haml/url_field_tag_tag.haml +1 -0
- data/spec/app/views/haml/url_field_tag_with_append.haml +1 -0
- data/spec/app/views/haml/url_field_tag_with_error.haml +1 -0
- data/spec/app/views/haml/url_field_tag_with_help_block.haml +1 -0
- data/spec/app/views/haml/url_field_tag_with_help_inline.haml +1 -0
- data/spec/app/views/haml/url_field_tag_with_info.haml +1 -0
- data/spec/app/views/haml/url_field_tag_with_prepend.haml +1 -0
- data/spec/app/views/haml/url_field_tag_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/url_field_tag_with_success.haml +1 -0
- data/spec/app/views/haml/url_field_tag_with_warning.haml +1 -0
- data/spec/app/views/haml/url_field_with_append.haml +1 -0
- data/spec/app/views/haml/url_field_with_error.haml +1 -0
- data/spec/app/views/haml/url_field_with_help_block.haml +1 -0
- data/spec/app/views/haml/url_field_with_help_inline.haml +1 -0
- data/spec/app/views/haml/url_field_with_info.haml +1 -0
- data/spec/app/views/haml/url_field_with_prepend.haml +1 -0
- data/spec/app/views/haml/url_field_with_prepend_append_and_help_inline.haml +1 -0
- data/spec/app/views/haml/url_field_with_success.haml +1 -0
- data/spec/app/views/haml/url_field_with_warning.haml +1 -0
- data/spec/app/views/slim/bootstrap_actions.slim +1 -0
- data/spec/app/views/slim/bootstrap_actions_with_block.slim +2 -0
- data/spec/app/views/slim/check_box.slim +1 -0
- data/spec/app/views/slim/check_box_tag.slim +1 -0
- data/spec/app/views/slim/check_box_tag_with_append.slim +1 -0
- data/spec/app/views/slim/check_box_tag_with_error.slim +1 -0
- data/spec/app/views/slim/check_box_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/check_box_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/check_box_tag_with_info.slim +1 -0
- data/spec/app/views/slim/check_box_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/check_box_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/check_box_tag_with_success.slim +1 -0
- data/spec/app/views/slim/check_box_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/check_box_with_append.slim +1 -0
- data/spec/app/views/slim/check_box_with_error.slim +1 -0
- data/spec/app/views/slim/check_box_with_help_block.slim +1 -0
- data/spec/app/views/slim/check_box_with_help_inline.slim +1 -0
- data/spec/app/views/slim/check_box_with_info.slim +1 -0
- data/spec/app/views/slim/check_box_with_success.slim +1 -0
- data/spec/app/views/slim/check_box_with_warning.slim +1 -0
- data/spec/app/views/slim/collection_check_boxes.slim +1 -0
- data/spec/app/views/slim/collection_check_boxes_with_checked.slim +2 -0
- data/spec/app/views/slim/collection_check_boxes_with_help_block.slim +1 -0
- data/spec/app/views/slim/collection_radio_buttons.slim +1 -0
- data/spec/app/views/slim/collection_radio_buttons_with_checked.slim +2 -0
- data/spec/app/views/slim/email_field.slim +1 -0
- data/spec/app/views/slim/email_field_tag.slim +1 -0
- data/spec/app/views/slim/email_field_tag_tag.slim +1 -0
- data/spec/app/views/slim/email_field_tag_with_append.slim +1 -0
- data/spec/app/views/slim/email_field_tag_with_error.slim +1 -0
- data/spec/app/views/slim/email_field_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/email_field_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/email_field_tag_with_info.slim +1 -0
- data/spec/app/views/slim/email_field_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/email_field_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/email_field_tag_with_success.slim +1 -0
- data/spec/app/views/slim/email_field_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/email_field_with_append.slim +1 -0
- data/spec/app/views/slim/email_field_with_error.slim +1 -0
- data/spec/app/views/slim/email_field_with_help_block.slim +1 -0
- data/spec/app/views/slim/email_field_with_help_inline.slim +1 -0
- data/spec/app/views/slim/email_field_with_info.slim +1 -0
- data/spec/app/views/slim/email_field_with_prepend.slim +1 -0
- data/spec/app/views/slim/email_field_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/email_field_with_success.slim +1 -0
- data/spec/app/views/slim/email_field_with_warning.slim +1 -0
- data/spec/app/views/slim/file_field.slim +1 -0
- data/spec/app/views/slim/file_field_tag.slim +1 -0
- data/spec/app/views/slim/file_field_tag_tag.slim +1 -0
- data/spec/app/views/slim/file_field_tag_with_append.slim +1 -0
- data/spec/app/views/slim/file_field_tag_with_error.slim +1 -0
- data/spec/app/views/slim/file_field_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/file_field_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/file_field_tag_with_info.slim +1 -0
- data/spec/app/views/slim/file_field_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/file_field_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/file_field_tag_with_success.slim +1 -0
- data/spec/app/views/slim/file_field_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/file_field_with_append.slim +1 -0
- data/spec/app/views/slim/file_field_with_error.slim +1 -0
- data/spec/app/views/slim/file_field_with_help_block.slim +1 -0
- data/spec/app/views/slim/file_field_with_help_inline.slim +1 -0
- data/spec/app/views/slim/file_field_with_info.slim +1 -0
- data/spec/app/views/slim/file_field_with_prepend.slim +1 -0
- data/spec/app/views/slim/file_field_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/file_field_with_success.slim +1 -0
- data/spec/app/views/slim/file_field_with_warning.slim +1 -0
- data/spec/app/views/slim/label_tag.slim +2 -0
- data/spec/app/views/slim/number_field.slim +1 -0
- data/spec/app/views/slim/number_field_tag.slim +1 -0
- data/spec/app/views/slim/number_field_tag_tag.slim +1 -0
- data/spec/app/views/slim/number_field_tag_with_append.slim +1 -0
- data/spec/app/views/slim/number_field_tag_with_error.slim +1 -0
- data/spec/app/views/slim/number_field_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/number_field_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/number_field_tag_with_info.slim +1 -0
- data/spec/app/views/slim/number_field_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/number_field_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/number_field_tag_with_success.slim +1 -0
- data/spec/app/views/slim/number_field_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/number_field_with_append.slim +1 -0
- data/spec/app/views/slim/number_field_with_error.slim +1 -0
- data/spec/app/views/slim/number_field_with_help_block.slim +1 -0
- data/spec/app/views/slim/number_field_with_help_inline.slim +1 -0
- data/spec/app/views/slim/number_field_with_info.slim +1 -0
- data/spec/app/views/slim/number_field_with_prepend.slim +1 -0
- data/spec/app/views/slim/number_field_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/number_field_with_success.slim +1 -0
- data/spec/app/views/slim/number_field_with_warning.slim +1 -0
- data/spec/app/views/slim/password_field.slim +1 -0
- data/spec/app/views/slim/password_field_tag.slim +1 -0
- data/spec/app/views/slim/password_field_tag_tag.slim +1 -0
- data/spec/app/views/slim/password_field_tag_with_append.slim +1 -0
- data/spec/app/views/slim/password_field_tag_with_error.slim +1 -0
- data/spec/app/views/slim/password_field_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/password_field_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/password_field_tag_with_info.slim +1 -0
- data/spec/app/views/slim/password_field_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/password_field_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/password_field_tag_with_success.slim +1 -0
- data/spec/app/views/slim/password_field_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/password_field_with_append.slim +1 -0
- data/spec/app/views/slim/password_field_with_error.slim +1 -0
- data/spec/app/views/slim/password_field_with_help_block.slim +1 -0
- data/spec/app/views/slim/password_field_with_help_inline.slim +1 -0
- data/spec/app/views/slim/password_field_with_info.slim +1 -0
- data/spec/app/views/slim/password_field_with_prepend.slim +1 -0
- data/spec/app/views/slim/password_field_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/password_field_with_success.slim +1 -0
- data/spec/app/views/slim/password_field_with_warning.slim +1 -0
- data/spec/app/views/slim/phone_field.slim +1 -0
- data/spec/app/views/slim/phone_field_tag.slim +1 -0
- data/spec/app/views/slim/phone_field_tag_tag.slim +1 -0
- data/spec/app/views/slim/phone_field_tag_with_append.slim +1 -0
- data/spec/app/views/slim/phone_field_tag_with_error.slim +1 -0
- data/spec/app/views/slim/phone_field_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/phone_field_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/phone_field_tag_with_info.slim +1 -0
- data/spec/app/views/slim/phone_field_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/phone_field_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/phone_field_tag_with_success.slim +1 -0
- data/spec/app/views/slim/phone_field_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/phone_field_with_append.slim +1 -0
- data/spec/app/views/slim/phone_field_with_error.slim +1 -0
- data/spec/app/views/slim/phone_field_with_help_block.slim +1 -0
- data/spec/app/views/slim/phone_field_with_help_inline.slim +1 -0
- data/spec/app/views/slim/phone_field_with_info.slim +1 -0
- data/spec/app/views/slim/phone_field_with_prepend.slim +1 -0
- data/spec/app/views/slim/phone_field_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/phone_field_with_success.slim +1 -0
- data/spec/app/views/slim/phone_field_with_warning.slim +1 -0
- data/spec/app/views/slim/radio_buttons.slim +1 -0
- data/spec/app/views/slim/radio_buttons_with_error.slim +1 -0
- data/spec/app/views/slim/search_field.slim +1 -0
- data/spec/app/views/slim/search_field_tag.slim +1 -0
- data/spec/app/views/slim/search_field_tag_tag.slim +1 -0
- data/spec/app/views/slim/search_field_tag_with_append.slim +1 -0
- data/spec/app/views/slim/search_field_tag_with_error.slim +1 -0
- data/spec/app/views/slim/search_field_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/search_field_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/search_field_tag_with_info.slim +1 -0
- data/spec/app/views/slim/search_field_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/search_field_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/search_field_tag_with_success.slim +1 -0
- data/spec/app/views/slim/search_field_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/search_field_with_append.slim +1 -0
- data/spec/app/views/slim/search_field_with_error.slim +1 -0
- data/spec/app/views/slim/search_field_with_help_block.slim +1 -0
- data/spec/app/views/slim/search_field_with_help_inline.slim +1 -0
- data/spec/app/views/slim/search_field_with_info.slim +1 -0
- data/spec/app/views/slim/search_field_with_prepend.slim +1 -0
- data/spec/app/views/slim/search_field_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/search_field_with_success.slim +1 -0
- data/spec/app/views/slim/search_field_with_warning.slim +1 -0
- data/spec/app/views/slim/select.slim +1 -0
- data/spec/app/views/slim/select_tag.slim +1 -0
- data/spec/app/views/slim/select_tag_with_append.slim +1 -0
- data/spec/app/views/slim/select_tag_with_error.slim +1 -0
- data/spec/app/views/slim/select_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/select_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/select_tag_with_info.slim +1 -0
- data/spec/app/views/slim/select_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/select_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/select_tag_with_success.slim +1 -0
- data/spec/app/views/slim/select_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/select_with_append.slim +1 -0
- data/spec/app/views/slim/select_with_error.slim +1 -0
- data/spec/app/views/slim/select_with_help_block.slim +1 -0
- data/spec/app/views/slim/select_with_help_inline.slim +1 -0
- data/spec/app/views/slim/select_with_info.slim +1 -0
- data/spec/app/views/slim/select_with_prepend.slim +1 -0
- data/spec/app/views/slim/select_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/select_with_success.slim +1 -0
- data/spec/app/views/slim/select_with_warning.slim +1 -0
- data/spec/app/views/slim/telephone_field.slim +1 -0
- data/spec/app/views/slim/telephone_field_tag.slim +1 -0
- data/spec/app/views/slim/telephone_field_tag_tag.slim +1 -0
- data/spec/app/views/slim/telephone_field_tag_with_append.slim +1 -0
- data/spec/app/views/slim/telephone_field_tag_with_error.slim +1 -0
- data/spec/app/views/slim/telephone_field_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/telephone_field_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/telephone_field_tag_with_info.slim +1 -0
- data/spec/app/views/slim/telephone_field_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/telephone_field_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/telephone_field_tag_with_success.slim +1 -0
- data/spec/app/views/slim/telephone_field_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/telephone_field_with_append.slim +1 -0
- data/spec/app/views/slim/telephone_field_with_error.slim +1 -0
- data/spec/app/views/slim/telephone_field_with_help_block.slim +1 -0
- data/spec/app/views/slim/telephone_field_with_help_inline.slim +1 -0
- data/spec/app/views/slim/telephone_field_with_info.slim +1 -0
- data/spec/app/views/slim/telephone_field_with_prepend.slim +1 -0
- data/spec/app/views/slim/telephone_field_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/telephone_field_with_success.slim +1 -0
- data/spec/app/views/slim/telephone_field_with_warning.slim +1 -0
- data/spec/app/views/slim/text_area.slim +1 -0
- data/spec/app/views/slim/text_area_field.slim +1 -0
- data/spec/app/views/slim/text_area_field_with_append.slim +1 -0
- data/spec/app/views/slim/text_area_field_with_error.slim +1 -0
- data/spec/app/views/slim/text_area_field_with_help_block.slim +1 -0
- data/spec/app/views/slim/text_area_field_with_help_inline.slim +1 -0
- data/spec/app/views/slim/text_area_field_with_info.slim +1 -0
- data/spec/app/views/slim/text_area_field_with_prepend.slim +1 -0
- data/spec/app/views/slim/text_area_field_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/text_area_field_with_success.slim +1 -0
- data/spec/app/views/slim/text_area_field_with_warning.slim +1 -0
- data/spec/app/views/slim/text_area_tag.slim +1 -0
- data/spec/app/views/slim/text_area_tag_tag.slim +1 -0
- data/spec/app/views/slim/text_area_tag_with_append.slim +1 -0
- data/spec/app/views/slim/text_area_tag_with_error.slim +1 -0
- data/spec/app/views/slim/text_area_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/text_area_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/text_area_tag_with_info.slim +1 -0
- data/spec/app/views/slim/text_area_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/text_area_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/text_area_tag_with_success.slim +1 -0
- data/spec/app/views/slim/text_area_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/text_area_with_append.slim +1 -0
- data/spec/app/views/slim/text_area_with_error.slim +1 -0
- data/spec/app/views/slim/text_area_with_help_block.slim +1 -0
- data/spec/app/views/slim/text_area_with_help_inline.slim +1 -0
- data/spec/app/views/slim/text_area_with_info.slim +1 -0
- data/spec/app/views/slim/text_area_with_prepend.slim +1 -0
- data/spec/app/views/slim/text_area_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/text_area_with_success.slim +1 -0
- data/spec/app/views/slim/text_area_with_warning.slim +1 -0
- data/spec/app/views/slim/text_field.slim +1 -0
- data/spec/app/views/slim/text_field_tag.slim +1 -0
- data/spec/app/views/slim/text_field_tag_tag.slim +1 -0
- data/spec/app/views/slim/text_field_tag_with_append.slim +1 -0
- data/spec/app/views/slim/text_field_tag_with_error.slim +1 -0
- data/spec/app/views/slim/text_field_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/text_field_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/text_field_tag_with_info.slim +1 -0
- data/spec/app/views/slim/text_field_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/text_field_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/text_field_tag_with_success.slim +1 -0
- data/spec/app/views/slim/text_field_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/text_field_with_append.slim +1 -0
- data/spec/app/views/slim/text_field_with_error.slim +1 -0
- data/spec/app/views/slim/text_field_with_help_block.slim +1 -0
- data/spec/app/views/slim/text_field_with_help_inline.slim +1 -0
- data/spec/app/views/slim/text_field_with_info.slim +1 -0
- data/spec/app/views/slim/text_field_with_prepend.slim +1 -0
- data/spec/app/views/slim/text_field_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/text_field_with_success.slim +1 -0
- data/spec/app/views/slim/text_field_with_warning.slim +1 -0
- data/spec/app/views/slim/uneditable_input.slim +1 -0
- data/spec/app/views/slim/uneditable_input_tag.slim +1 -0
- data/spec/app/views/slim/uneditable_input_tag_with_append.slim +1 -0
- data/spec/app/views/slim/uneditable_input_tag_with_error.slim +1 -0
- data/spec/app/views/slim/uneditable_input_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/uneditable_input_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/uneditable_input_tag_with_info.slim +1 -0
- data/spec/app/views/slim/uneditable_input_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/uneditable_input_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/uneditable_input_tag_with_success.slim +1 -0
- data/spec/app/views/slim/uneditable_input_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/uneditable_input_with_append.slim +1 -0
- data/spec/app/views/slim/uneditable_input_with_error.slim +1 -0
- data/spec/app/views/slim/uneditable_input_with_help_block.slim +1 -0
- data/spec/app/views/slim/uneditable_input_with_help_inline.slim +1 -0
- data/spec/app/views/slim/uneditable_input_with_info.slim +1 -0
- data/spec/app/views/slim/uneditable_input_with_prepend.slim +1 -0
- data/spec/app/views/slim/uneditable_input_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/uneditable_input_with_success.slim +1 -0
- data/spec/app/views/slim/uneditable_input_with_warning.slim +1 -0
- data/spec/app/views/slim/url_field.slim +1 -0
- data/spec/app/views/slim/url_field_tag.slim +1 -0
- data/spec/app/views/slim/url_field_tag_tag.slim +1 -0
- data/spec/app/views/slim/url_field_tag_with_append.slim +1 -0
- data/spec/app/views/slim/url_field_tag_with_error.slim +1 -0
- data/spec/app/views/slim/url_field_tag_with_help_block.slim +1 -0
- data/spec/app/views/slim/url_field_tag_with_help_inline.slim +1 -0
- data/spec/app/views/slim/url_field_tag_with_info.slim +1 -0
- data/spec/app/views/slim/url_field_tag_with_prepend.slim +1 -0
- data/spec/app/views/slim/url_field_tag_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/url_field_tag_with_success.slim +1 -0
- data/spec/app/views/slim/url_field_tag_with_warning.slim +1 -0
- data/spec/app/views/slim/url_field_with_append.slim +1 -0
- data/spec/app/views/slim/url_field_with_error.slim +1 -0
- data/spec/app/views/slim/url_field_with_help_block.slim +1 -0
- data/spec/app/views/slim/url_field_with_help_inline.slim +1 -0
- data/spec/app/views/slim/url_field_with_info.slim +1 -0
- data/spec/app/views/slim/url_field_with_prepend.slim +1 -0
- data/spec/app/views/slim/url_field_with_prepend_append_and_help_inline.slim +1 -0
- data/spec/app/views/slim/url_field_with_success.slim +1 -0
- data/spec/app/views/slim/url_field_with_warning.slim +1 -0
- data/spec/bootstrap_forms_spec.rb +25 -0
- data/spec/spec_helper.rb +95 -22
- data/spec/support/a_form_field.rb +15 -0
- data/spec/support/form_builder.rb +166 -0
- data/spec/support/form_tag_helpers.rb +87 -0
- metadata +1768 -32
- data/spec/lib/bootstrap_forms/form_builder_spec.rb +0 -218
- data/spec/lib/bootstrap_forms/form_tag_helper_spec.rb +0 -20
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_select_tag :name, :options => %w[sshaw fofinha], :help_block => "Help Block", :selected => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_select_tag :name, :options => %w[sshaw fofinha], :help_inline => "Help Inline", :selected => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_select_tag :name, :options => %w[sshaw fofinha], :info => "Info", :selected => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_select_tag :name, :options => %w[sshaw fofinha], :prepend => "Prepend", :selected => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_select_tag :name, :options => %w[sshaw fofinha], :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append", :selected => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_select_tag :name, :options => %w[sshaw fofinha], :success => "Success", :selected => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_select_tag :name, :options => %w[sshaw fofinha], :warning => "Warning", :selected => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.select :name, :options => %w[sshaw fofinha], :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.select :name, :options => %w[sshaw fofinha], :error => "Error"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.select :name, :options => %w[sshaw fofinha], :help_block => "Help Block"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.select :name, :options => %w[sshaw fofinha], :help_inline => "Help Inline"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.select :name, :options => %w[sshaw fofinha], :info => "Info"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.select :name, :options => %w[sshaw fofinha], :prepend => "Prepend"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.select :name, :options => %w[sshaw fofinha], :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.select :name, :options => %w[sshaw fofinha], :success => "Success"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.select :name, :options => %w[sshaw fofinha], :warning => "Warning"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.telephone_field :name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_telephone_field_tag :name, :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_telephone_field_tag_tag :name, :value => @item.name, :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_telephone_field_tag :name, :append => "Append", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_telephone_field_tag :name, :error => "Error", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_telephone_field_tag :name, :help_block => "Help Block", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_telephone_field_tag :name, :help_inline => "Help Inline", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_telephone_field_tag :name, :info => "Info", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_telephone_field_tag :name, :prepend => "Prepend", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_telephone_field_tag :name, :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_telephone_field_tag :name, :success => "Success", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_telephone_field_tag :name, :warning => "Warning", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.telephone_field :name, :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.telephone_field :name, :error => "Error"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.telephone_field :name, :help_block => "Help Block"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.telephone_field :name, :help_inline => "Help Inline"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.telephone_field :name, :info => "Info"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.telephone_field :name, :prepend => "Prepend"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.telephone_field :name, :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.telephone_field :name, :success => "Success"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.telephone_field :name, :warning => "Warning"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :error => "Error"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :help_block => "Help Block"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :help_inline => "Help Inline"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :info => "Info"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :prepend => "Prepend"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :success => "Success"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :warning => "Warning"
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_area_tag :name, :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_area_tag_tag :name, :value => @item.name, :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_area_tag :name, :append => "Append", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_area_tag :name, :error => "Error", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_area_tag :name, :help_block => "Help Block", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_area_tag :name, :help_inline => "Help Inline", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_area_tag :name, :info => "Info", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_area_tag :name, :prepend => "Prepend", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_area_tag :name, :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_area_tag :name, :success => "Success", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_area_tag :name, :warning => "Warning", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :error => "Error"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :help_block => "Help Block"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :help_inline => "Help Inline"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :info => "Info"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :prepend => "Prepend"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :success => "Success"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_area :name, :warning => "Warning"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_field :name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_field_tag :name, :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_field_tag_tag :name, :value => @item.name, :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_field_tag :name, :append => "Append", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_field_tag :name, :error => "Error", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_field_tag :name, :help_block => "Help Block", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_field_tag :name, :help_inline => "Help Inline", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_field_tag :name, :info => "Info", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_field_tag :name, :prepend => "Prepend", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_field_tag :name, :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_field_tag :name, :success => "Success", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_text_field_tag :name, :warning => "Warning", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_field :name, :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_field :name, :error => "Error"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_field :name, :help_block => "Help Block"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_field :name, :help_inline => "Help Inline"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_field :name, :info => "Info"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_field :name, :prepend => "Prepend"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_field :name, :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_field :name, :success => "Success"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.text_field :name, :warning => "Warning"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.uneditable_input :name
|
@@ -0,0 +1 @@
|
|
1
|
+
== uneditable_input_tag :name, :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== uneditable_input_tag :name, :value => @item.name, :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== uneditable_input_tag :name, :value => @item.name, :error => "Error"
|
@@ -0,0 +1 @@
|
|
1
|
+
== uneditable_input_tag :name, :value => @item.name, :help_block => "Help Block"
|
@@ -0,0 +1 @@
|
|
1
|
+
== uneditable_input_tag :name, :value => @item.name, :help_inline => "Help Inline"
|
@@ -0,0 +1 @@
|
|
1
|
+
== uneditable_input_tag :name, :value => @item.name, :info => "Info"
|
@@ -0,0 +1 @@
|
|
1
|
+
== uneditable_input_tag :name, :value => @item.name, :prepend => "Prepend"
|
@@ -0,0 +1 @@
|
|
1
|
+
== uneditable_input_tag :name, :value => @item.name, :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== uneditable_input_tag :name, :value => @item.name, :success => "Success"
|
@@ -0,0 +1 @@
|
|
1
|
+
== uneditable_input_tag :name, :value => @item.name, :warning => "Warning"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.uneditable_input :name, :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.uneditable_input :name, :error => "Error"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.uneditable_input :name, :help_block => "Help Block"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.uneditable_input :name, :help_inline => "Help Inline"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.uneditable_input :name, :info => "Info"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.uneditable_input :name, :prepend => "Prepend"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.uneditable_input :name, :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.uneditable_input :name, :success => "Success"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.uneditable_input :name, :warning => "Warning"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.url_field :name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_url_field_tag :name, :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_url_field_tag_tag :name, :value => @item.name, :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_url_field_tag :name, :append => "Append", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_url_field_tag :name, :error => "Error", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_url_field_tag :name, :help_block => "Help Block", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_url_field_tag :name, :help_inline => "Help Inline", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_url_field_tag :name, :info => "Info", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_url_field_tag :name, :prepend => "Prepend", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_url_field_tag :name, :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_url_field_tag :name, :success => "Success", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== bootstrap_url_field_tag :name, :warning => "Warning", :value => @item.name
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.url_field :name, :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.url_field :name, :error => "Error"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.url_field :name, :help_block => "Help Block"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.url_field :name, :help_inline => "Help Inline"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.url_field :name, :info => "Info"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.url_field :name, :prepend => "Prepend"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.url_field :name, :help_inline => "Help Inline", :prepend => "Prepend", :append => "Append"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.url_field :name, :success => "Success"
|
@@ -0,0 +1 @@
|
|
1
|
+
== @builder.url_field :name, :warning => "Warning"
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe BootstrapForms do
|
4
|
+
def app
|
5
|
+
Padrino.application
|
6
|
+
end
|
7
|
+
|
8
|
+
context "using erb" do
|
9
|
+
let(:format) { :erb }
|
10
|
+
include_examples "form tag helpers"
|
11
|
+
include_examples "form builder"
|
12
|
+
end
|
13
|
+
|
14
|
+
context "using haml" do
|
15
|
+
let(:format) { :haml }
|
16
|
+
include_examples "form builder"
|
17
|
+
include_examples "form tag helpers"
|
18
|
+
end
|
19
|
+
|
20
|
+
context "using slim" do
|
21
|
+
let(:format) { :slim }
|
22
|
+
include_examples "form tag helpers"
|
23
|
+
include_examples "form builder"
|
24
|
+
end
|
25
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,35 +1,108 @@
|
|
1
|
+
require "padrino"
|
1
2
|
require "padrino-helpers"
|
2
|
-
require
|
3
|
+
require "rack/test"
|
4
|
+
require "bootstrap_forms"
|
5
|
+
require File.dirname(__FILE__) + "/app/app"
|
3
6
|
|
4
|
-
|
5
|
-
|
7
|
+
support = File.join(File.dirname(__FILE__), "support", "*.rb")
|
8
|
+
Dir[support].each { |path| require path }
|
6
9
|
|
7
|
-
|
10
|
+
VALIDATION_STATES = [:error, :success, :warning, :info]
|
8
11
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
config.include Padrino::Helpers::FormHelpers
|
14
|
-
config.include BootstrapForms::Helpers::FormTagHelper
|
15
|
-
end
|
12
|
+
module SpecHelper
|
13
|
+
def app
|
14
|
+
Padrino.application
|
15
|
+
end
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
def req(format, view, q = {})
|
18
|
+
get "/#{format}/#{view}", q
|
19
|
+
body = last_response.body
|
20
|
+
# Only clean what looks like HTML. Makes any errors eaiser to trackdown.
|
21
|
+
body =~ /\A\s*<\w/ ? clean(body) : body
|
21
22
|
end
|
22
|
-
end
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
super { |h, v| h[v] = [] }
|
24
|
+
def clean(str)
|
25
|
+
str.gsub(/\s{2,}|\n/, "")
|
27
26
|
end
|
28
27
|
|
29
|
-
def
|
30
|
-
|
31
|
-
|
28
|
+
def control_group(klasses = nil)
|
29
|
+
klasses = Array(klasses)
|
30
|
+
klasses.unshift "control-group"
|
31
|
+
content_tag(:div, :class => klasses.join(" ")) { yield }
|
32
|
+
end
|
33
|
+
|
34
|
+
def controls
|
35
|
+
content_tag(:div, :class => "controls") { yield }
|
36
|
+
end
|
37
|
+
|
38
|
+
def build_control_group(name, field, options = {})
|
39
|
+
message = options.keys.find { |k| VALIDATION_STATES.include?(k) }
|
40
|
+
group_css = %w[control-group]
|
41
|
+
group_css << message.to_s if message
|
42
|
+
label_for = nil
|
43
|
+
|
44
|
+
if Hash === field
|
45
|
+
type = field.delete(:type) || "text"
|
46
|
+
fname = field.delete(:name) || "item[#{name}]"
|
47
|
+
field[:id] ||= name
|
48
|
+
label_for = field[:id]
|
49
|
+
field = send("#{type}_field_tag", fname, field)
|
50
|
+
elsif field =~ /id=["']([-\w]+)["']/
|
51
|
+
label_for = $1
|
32
52
|
end
|
53
|
+
|
54
|
+
expected = control_group(message) do
|
55
|
+
label_tag(name.to_s.titleize, :class => "control-label", :for => label_for) << controls do
|
56
|
+
css = []
|
57
|
+
nodes = []
|
58
|
+
|
59
|
+
if options[:prepend] || options[:append]
|
60
|
+
addons = ""
|
61
|
+
addons_css = []
|
62
|
+
|
63
|
+
if options[:prepend]
|
64
|
+
addons << content_tag(:span, options[:prepend], :class => "add-on")
|
65
|
+
addons_css << "input-prepend"
|
66
|
+
end
|
67
|
+
|
68
|
+
addons << field
|
69
|
+
|
70
|
+
if options[:append]
|
71
|
+
addons << content_tag(:span, options[:append], :class => "add-on")
|
72
|
+
addons_css << "input-append"
|
73
|
+
end
|
74
|
+
|
75
|
+
field = content_tag(:div, addons, :class => addons_css.join(" "))
|
76
|
+
end
|
77
|
+
|
78
|
+
nodes << field
|
79
|
+
|
80
|
+
if options[:help_inline]
|
81
|
+
nodes << content_tag(:span, options[:help_inline], :class => "help-inline")
|
82
|
+
end
|
83
|
+
|
84
|
+
if message
|
85
|
+
nodes << content_tag(:span, options[message], :class => "help-inline")
|
86
|
+
end
|
87
|
+
|
88
|
+
if options[:help_block]
|
89
|
+
nodes << content_tag(:span, options[:help_block], :class => "help-block")
|
90
|
+
end
|
91
|
+
|
92
|
+
nodes.join("")
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
clean(expected)
|
33
97
|
end
|
34
98
|
end
|
35
99
|
|
100
|
+
RSpec.configure do |config|
|
101
|
+
config.include Padrino::Helpers::OutputHelpers
|
102
|
+
config.include Padrino::Helpers::FormatHelpers
|
103
|
+
config.include Padrino::Helpers::TagHelpers
|
104
|
+
config.include Padrino::Helpers::FormHelpers
|
105
|
+
config.include Rack::Test::Methods
|
106
|
+
|
107
|
+
config.include SpecHelper
|
108
|
+
end
|