CakePHP-Bootstrap / cakephp3-bootstrap-helpers

CakePHP 3.x Helpers for Bootstrap 3 and 4.
https://holt59.github.io/cakephp3-bootstrap-helpers/
MIT License
130 stars 79 forks source link

Update FancyFileWidget.php #161

Closed Jefe7campos closed 5 years ago

Jefe7campos commented 6 years ago

Option to set the button label. ['_button' => ['button-label' => 'Add Picture']]

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

The best way to propose a feature is to open an issue first and discuss your ideas there before implementing them.

Holt59 commented 6 years ago

This is already implement (maybe not documented though... ) via:

echo $this->file('file', ['button-label' => 'Add Picture']);
Jefe7campos commented 6 years ago

Sorry i had not seen