photomix/app/views/users/edit.html.erb
2009-05-22 16:14:07 +02:00

9 lines
No EOL
238 B
Text

<h1>Edit My Account</h1>
<% form_for @user, :url => account_path do |f| %>
<%= f.error_messages %>
<%= render :partial => "form", :object => f %>
<%= f.submit "Update" %>
<% end %>
<br /><%= link_to "My Profile", account_path %>