2009-06-02 00:08:57 +02:00
|
|
|
<h1>Edit Account</h1>
|
|
|
|
|
2010-09-17 17:57:33 +02:00
|
|
|
<%= form_for @user do |f| %>
|
2009-06-02 00:08:57 +02:00
|
|
|
<%= f.error_messages %>
|
|
|
|
<%= render :partial => "form", :object => f %>
|
|
|
|
<%= f.submit "Update" %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
2009-07-27 18:58:58 +02:00
|
|
|
|
2011-04-25 07:54:40 +02:00
|
|
|
<%= content_for :action_links do %>
|
2009-07-27 18:58:58 +02:00
|
|
|
<%= link_to("Delete user", { :action => "destroy", :id => @user },
|
|
|
|
:confirm => "Are you sure you want to delete this user?",
|
|
|
|
:method => :delete) %>
|
|
|
|
<% end %>
|