@ParthivPatel-BTC 

1. If-elsif-...-else lines should be moved to view helper class as a method.(From line 9 to 23)