Skip to content
⚠️ DEPRECATED. The official Trowel Component for form elements
CSS HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
styleguide
test/src
.bowerrc
.editorconfig
.gitignore
.npmignore
.scss-lint.yml
LICENSE
README.md
bower.json
gulpfile.js
injector.json
package.json
sache.json
yarn.lock

README.md

Friends of Trowel

Trowel-Forms

npm version Bower version

The official Trowel Component for Forms Forms is a Trowel Component, please refer to the Trowel doc for more informations about how works Trowel Components

Getting Started

Download

You can easily install trowel-Forms by using npm, Yarn or Bower with the name trowel-forms (previously friendsOfTrowel-Forms-component)

# With bower
$ bower install trowel-forms

# With npm
$ npm install trowel-forms

# With yarn
$ yarn add trowel-forms

You can also download a zip archive right here.

Installation

SCSS

The main scss file to include to your main .scss file is located at the ./src/scss/forms.scss. As a Trowel Component, it also requires two dependencies to compile the scss code. Here an scss installation snippet.

// Trowel Dependencies
@import './path/to/dependencies/trowel-core/src/trowel';

// Trowel Components Forms
@import './path/to/dependencies/trowel-forms/src/scss/forms.scss';

Twig files

The twig file is located at the ./src/twig/Forms.html.twig.

Usage

to be written

License

MIT © Trowel

You can’t perform that action at this time.