nextras/forms-rendering

Rendering helpers for Nette Framework Forms.

v1.1.0 2021-06-04 04:20 UTC

This package is auto-updated.

Last update: 2024-03-04 22:39:48 UTC


README

Build Status Downloads this Month Stable version

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.