我有1.2.6号铁路:
<%= form_tag(:action => "login_in_user") %>
<p>
<label for="header">Username</label>
<%= text_field("user", "name") %>
</p>
<p>
<label for="header">Password</label>
<%= password_field("user", "password") %>
</p>
<div class="spacer"></div>
<%= write_flash_notice(:label => true)%>
<%= error_messages_for user %>
<p>
<label for="submit"> </label>
<%= submit_tag("login") %>
</p>
<%= end_form_tag %>
我确实试图用表格(用于:login_in_user)来重写这 w。
How should I rewrite it?
UPDATE - Rails§! Had of course forgot the <%= yield %>
in layout