login action
def login
login1.html.erb
<%= form_tag :controller => "users", :action => "login" do %>
<tr>
<td align="right" height="30">username:</td>
<td align="middle" colSpan="2" height="30">
<%=text_field :user,:name,:class => "txt" %>
</td>
</tr>
<tr>
<td align="right" height="30">password:</td>
<td align="middle" colSpan="2" height="30">
<%= text_field :user, :pass, :class => "txt" %> </td>
<td class="style2" >
<input type="reset" value="cancel" class="btn" name="reset" ></td>
</tr>
<% end %>