nextras/forms-rendering

Rendering helpers for Nette Framework Forms.

v1.0.0 2019-04-07 21:05 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, vertial and inline mode;

Latte Macros renderers:

  • Bs3InputMacros - modifies Form Macros to add Bootstrap 3 classes automatically;

Installation

The best way to install is using Composer:

$ composer require nextras/forms-rendering

Register Bs3InputMacros using Nette DI config:

latte:
    macros:
        - Nextras\FormsRendering\LatteMacros\Bs3InputMacros::install

Documentation

See examples directory.

License

MIT. See full license.