- Added documentation, fixed some bugs and optimized some parts of the source code while doing the doc.
This commit is contained in:
1 parent
9190987b53
commit
3986437800
33 files changed
+431
-16
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# `ui.form` / `ui.form.get` / `ui.form.post` (string $method = "get", string $name = "", string $action = "", array $attributes = [])
|
||||
|
||||
A version exists also for unsupported methods (as of HTML5) on forms `ui.form.put` / `ui.form.patch` / `ui.form.delete`, which
|
||||
could find a use within a Javascript environment.
|
||||
|
||||
The following attributes are assigned by this extension :
|
||||
|
||||
- `'class' => "ui-form"`
|
||||
- `'enctype' => "multipart/form-data"`
|
||||
- `'method' => "get|post|put|patch|delete"`
|
||||
|
||||
and will typically be rendered such as :
|
||||
|
||||
```html
|
||||
<form class="ui-form" enctype="multipart/form-data" action="$action" method="$method">
|
||||
<input class="ui-hidden" type="hidden" name="picea-ui-form[$name]" value="{ random md5 hash }">
|
||||
</form>
|
||||
```
|
||||
Reference in new issue
Block a user