mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix example with data: { disable-with: '' } [ci skip]
This commit is contained in:
parent
15a63052dc
commit
4d2eb49d96
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ will produce
|
|||
|
||||
<ruby>
|
||||
button_to 'Destroy', 'http://www.example.com', confirm: 'Are you sure?',
|
||||
method: 'delete', remote: true, 'data-disable-with' => 'loading...')
|
||||
method: 'delete', remote: true, data: { disable-with: 'loading...' }
|
||||
</ruby>
|
||||
|
||||
will produce
|
||||
|
|
Loading…
Reference in a new issue