Skip to content

Commit

Permalink
Minor typo fixed in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Guv0 committed Mar 8, 2017
1 parent 5b969a6 commit b248caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -113,7 +113,7 @@ an error, or even a placeholder. For boolean inputs, you can add an inline label
<% end %>
```

In some cases you may want to disable labels, hints or error. Or you may want to configure the html
In some cases you may want to disable labels, hints or errors. Or you may want to configure the html
of any of them:

```erb
Expand Down Expand Up @@ -164,7 +164,7 @@ any html attribute to that wrapper as well using the `:wrapper_html` option, lik

Required fields are marked with an * prepended to their labels.

By default all inputs are required. When the form object includes `ActiveModel::Validations`
By default all inputs are required. When the form object includes `ActiveModel::Validations`
(which, for example, happens with Active Record models), fields are required only when there is `presence` validation.
Otherwise, **Simple Form** will mark fields as optional. For performance reasons, this
detection is skipped on validations that make use of conditional options, such as `:if` and `:unless`.
Expand Down

0 comments on commit b248caf

Please sign in to comment.