Bits and bobs
Author: Luke Hudson email@example.com
Here are some classes that aren't worth making into full modules.
Each class should be documented well at the top of the file, with usage and installation instructions.
Please post issues on GitHub
Here's a quick list of what's inside the pack.
Adds the function Plural(word) to DataObjectSet, making it simple to write your template like this:
$Items.Count $Items.Plural(item) found
and not fiddling around with ifs like this (if it even works):
$Items.Count <% if Items.Count = 1 %>item<% else %>items<% end_if %>
in your template to correctly show singular or plural depending on number of items found.
Nothing more than a SilverStripe-d custom version of HTML from http://html5boilerplate.com/