thymeleaf bootstap2![Build Status](https://camo.githubusercontent.com/d417b412091727ec4282bf96dc06574d8932e60bec19e4e6397c1510bb70e0ba/68747470733a2f2f7472617669732d63692e6f72672f7070692d61672f7468796d656c6561662d626f6f747374726170322e7376673f6272616e63683d6d6173746572)
Thymeleaf Dialect which helps to create bootstrap2-forms.
Supported attributes at input, select, option and textarea are:
bs:field
: which is similar to th:field, but it adds a label and shows the validation-message. The label can be changed viabs:label
.bs:name
: like bs:field doesn't need a form object. The label can be changed viabs:label
.
See the testdata at src/test/resources/thymeleaf/bootstrap2.
To use codecompletion add xmlns:bs="http://www.ppi.de/thymeleaf/bootstrap2"
to the html-tag.
Installation
Simply add
<dependency>
<groupId>de.ppi.oss</groupId>
<artifactId>thymeleaf-bootstrap2</artifactId>
<version>0.2</version>
</dependency>