Displaying 1 result from an estimated 1 matches for "change_password_upd".
2008 Jan 02
0
why does rails keep prompting me for post?
...hange-password
3) realise that
no1. i am using something funny like /v1/users/:permalink/
change_password and not just /change_password
no2. i cant use html.erb for some reasons hence i resorted to
using .rhtml
4) end up re writing the view code as such:
<table>
<% form_for (:url =>
change_password_update_user_path(current_user.permalink), :html =>
{ :method => :put }) do |f| %>
<tr>
<td>Old Password
<%= password_field_tag ''old_password'',
@old_password, :size => 45, :class => ''text'' %></td>
</tr>
<...