This is a draft of a Twitter's Bootstrap Thymeleaf dialect.
For now, it only allows to generate Nav (tabs and pills) using custom Thymeleaf tags.
- Java 6
- Thymeleaf 2.0.15
TODO
<bootstrap:nav type="tabs">
<tab id="firstId" label="First tab" active="true">
any content here : plain text, HTML tags (even if they need to be processed by Thymeleaf !)
</tab>
<tab id="secondId" label="Second tab">
any content here too !
</tab>
</bootstra:nav>
Just replace the type
attribute value by pills !
<bootstrap:nav type="pills">