diff --git a/README.md b/README.md index 6c8d5af3c..07656705a 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,7 @@ In cases where this behavior is undesirable, use the `skip_required` option: ### Input Elements / Controls -To specify the class of the generated input, use the `control_class` option: +To specify the class of the generated input tag, use the `control_class` option: ```erb <%= f.text_field :email, control_class: "custom-class" %> @@ -270,7 +270,7 @@ You can also prepend and append buttons. Note: The buttons must contain the <%= f.text_field :search, append: link_to("Go", "#", class: "btn btn-secondary") %> ``` -To add a class to the input group wrapper, use `:input_group_class` option. +To add a class to the input group wrapper, use the `:input_group_class` option. ```erb <%= f.email_field :email, append: f.primary('Subscribe'), input_group_class: 'input-group-lg' %> @@ -344,7 +344,7 @@ To display checkboxes and radios inline, pass the `inline: true` option: #### Collections -BootstrapForms also provides helpers that automatically creates the +`bootstrap_form` also provides helpers that automatically creates the `form_group` and the `radio_button`s or `check_box`es for you: ```erb @@ -366,7 +366,7 @@ You can create a static control like this: <%= f.static_control :email %> ``` -Here's the output: +Here's the output for a horizontal layout: ```html