diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-09-07 07:56:31 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-09-07 07:59:19 +0900 |
commit | 736edb982856f0de04d4566f657c0c84f145e7ef (patch) | |
tree | d8be8b8ed03001ad28c3226912306d5f426c700a /actionview | |
parent | 0cbbe515d33d29085aefba9f04e5dd4171348a1b (diff) | |
download | rails-736edb982856f0de04d4566f657c0c84f145e7ef.tar.gz rails-736edb982856f0de04d4566f657c0c84f145e7ef.tar.bz2 rails-736edb982856f0de04d4566f657c0c84f145e7ef.zip |
Formatting CHANGELOGs [ci skip]
Fixing code block rendering, indentation, backticks, etc.
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/CHANGELOG.md | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index 46b3b1fa25..82add522df 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -76,7 +76,9 @@ *Simon Coffey* * Extract the `confirm` call in its own, overridable method in `rails_ujs`. - Example : + + Example: + Rails.confirm = function(message, element) { return (my_bootstrap_modal_confirm(message)); } @@ -84,7 +86,9 @@ *Mathieu Mahé* * Enable select tag helper to mark `prompt` option as `selected` and/or `disabled` for `required` - field. Example: + field. + + Example: select :post, :category, @@ -92,7 +96,9 @@ { selected: "", disabled: "", prompt: "Choose one" }, { required: true } - Placeholder option would be selected and disabled. The HTML produced: + Placeholder option would be selected and disabled. + + The HTML produced: <select required="required" name="post[category]" id="post_category"> <option disabled="disabled" selected="selected" value="">Choose one</option> |