nextras / forms-rendering
Rendering helpers for Nette Framework Forms.
Installs: 73 276
Dependents: 4
Suggesters: 0
Security: 0
Stars: 14
Watchers: 4
Forks: 4
Open Issues: 2
Requires
- php: >=7.1
- latte/latte: ~2.5
- nette/forms: ~3.0
- nette/utils: ~3.0
Requires (Dev)
- nette/application: ~3.0
- nette/bootstrap: ~3.0
- nette/di: ~3.0
- nette/robot-loader: ~3.0
- phpstan/phpstan-nette: 0.11
- phpstan/phpstan-shim: 0.11.5
- tracy/tracy: ~2.5
This package is auto-updated.
Last update: 2024-11-02 12:59:45 UTC
README
This package provides rendering helpers Nette Forms.
Form renderers:
- Bs3Renderer - renderer for Bootstrap 3 with horizontal mode only;
- Bs4Renderer - renderer for Bootstrap 4 with support for horizontal, vertical and inline mode;
- Bs5Renderer - renderer for Bootstrap 5 with support for horizontal, vertical and inline mode;
Latte Tags renderers:
- Bs3FormsExtension - modifies Form Tags to add Bootstrap 3 classes automatically;
Installation
The best way to install is using Composer:
$ composer require nextras/forms-rendering
Register Bs3FormsExtension using Nette DI config:
latte: extensions: - Nextras\FormsRendering\LatteTags\Bs3\Bs3FormsExtension
Documentation
See examples directory.
License
MIT. See full license.