Fix logic problem with having all false for an authorization.  Convert a...

...pplication template to HAML.