Added Class level method and View partial to DRY up the html