mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 23:49:55 +00:00
Merge pull request #8107 from ndm2/2.7-fix-post-link-description
2.7 - Fix `FormHelper::postLink()` description.
This commit is contained in:
commit
a890d76990
1 changed files with 6 additions and 2 deletions
|
@ -1795,8 +1795,12 @@ class FormHelper extends AppHelper {
|
||||||
* Creates an HTML link, but access the URL using the method you specify (defaults to POST).
|
* Creates an HTML link, but access the URL using the method you specify (defaults to POST).
|
||||||
* Requires javascript to be enabled in browser.
|
* Requires javascript to be enabled in browser.
|
||||||
*
|
*
|
||||||
* This method creates a `<form>` element. So do not use this method inside an existing form.
|
* This method creates a `<form>` element. If you want to use this method inside of an
|
||||||
* Instead you should add a submit button using FormHelper::submit()
|
* existing form, you must use the `inline` or `block` options so that the new form is
|
||||||
|
* being set to a view block that can be rendered outside of the main form.
|
||||||
|
*
|
||||||
|
* If all you are looking for is a button to submit your form, then you should use
|
||||||
|
* `FormHelper::submit()` instead.
|
||||||
*
|
*
|
||||||
* ### Options:
|
* ### Options:
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue