Made views a bit more DRY by making more use of blade templating engine