<%= error_messages_for 'user' %>

重置密码

<%= form_tag(lost_password_path) do %> <%= hidden_field_tag 'token', @token.value %> <%= password_field_tag 'new_password', nil, :size => 25,:placeholder=>'新密码',:style=>"width:308px; height:38px; border:1px solid #98a1a6; outline:none; color:#888888; font-size:14px; " %>

至少需要 6 个字符

<%= password_field_tag 'new_password_confirmation', nil, :size => 25,:placeholder=>'确定密码',:style=>"width:308px; height:38px; border:1px solid #98a1a6; outline:none; color:#888888; font-size:14px;margin-bottom:20px; " %>
提交
<% end %>