Refactored view to use Pyro Tags rather than PHP.