Skip to content

Commit

Permalink
Fix Form::ajax example
Browse files Browse the repository at this point in the history
  • Loading branch information
Samorai committed Dec 1, 2017
1 parent 6734282 commit 585ed0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services-html.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ The second argument of `Form::ajax` should contain the attributes:
You can also pass partials to update as another array:

Form::ajax('onSave', ['update' => [
'control-panel': '#controlPanel',
'layout/sidebar': '#layoutSidebar'
'control-panel' => '#controlPanel',
'layout/sidebar' => '#layoutSidebar'
]
])

Expand Down

0 comments on commit 585ed0a

Please sign in to comment.