Added a templating class for the form
Added ruby for the sort by field
small .gitignore update