% layout 'default'; % title 'パスワード変更' ;

パスワード変更

%= form_for url_for('') => (method => 'post') => begin
password:
<%= text_field 'passwd'%>
new password:
<%= text_field 'newpasswd'%>
re password:
<%= text_field 'repasswd'%>
%= submit_button '変更' % end