ok so here is my problem.
I have a rails application deployed on TC server. I have a .WAR file and the server is able to render data reading through the WEB-INF.
I think you need to try this:
<%= f.label :username %> <%= f.text_field :password %>
instead of
<%= f.label: username%> <%= f.text_field: password%>