Fix typo s/programatically/programmatically/ [ci skip]

This commit is contained in:
Ryuta Kamizono 2019-10-04 12:35:40 +09:00
parent 97af7e1ae8
commit eae80d7c27
1 changed files with 2 additions and 2 deletions

View File

@ -1025,7 +1025,7 @@ If `@article.author_id` is 1, this would return:
<label for="article_author_id_3">M. Clark</label>
```
Recovering some option passed (e.g. programatically checking an object from collection):
Recovering some option passed (e.g. programmatically checking an object from collection):
```ruby
collection_radio_buttons(:article, :author_id, Author.all, :id, :name_with_initial, {checked: Author.last})
@ -1042,7 +1042,7 @@ In this case, the last object from the collection will be checked:
<label for="article_author_id_3">M. Clark</label>
```
To access the passed options programatically (e.g. adding a custom class if checked):
To access the passed options programmatically (e.g. adding a custom class if checked):
**Sample html.erb**