Light-Weight, High-Performance & Easily Customizable
LittleCub provides two basis default themes, default and default-horizontal.
The default-horizontal theme is extended from the default theme. It is
intended for forms with horizontal style which displays label
in the same line as the corresponding field.
Both themes can be used standalone or mixed together. To load the themes, we can either use the compiled version or load the templates directly. Make sure you adjust the paths in the following code snippet.
<script src="dist/littlecub.min.js" type="text/javascript"></script>
LittleCub.loadThemes({
"default" : "themes/default/default.html",
"default-horizontal": "themes/default/default-horizontal.html"
}, function() {
// Rest of your forms related code goes here!
});