My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions

Issue 48 attachment: destroy_admin_user.patch (1.1 KB)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Index: /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/views/admin/users/edit.rhtml
===================================================================
--- /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/views/admin/users/edit.rhtml (revision 43)
+++ /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/views/admin/users/edit.rhtml (working copy)
@@ -6,7 +6,7 @@
<li><a href="/admin/users/list/">Back to User List</a></li>
</ul>

- <%= render_partial "form" %>
+ <%= render :partial => "form" %>

<!-- SAVE BUTTON -->
<div class="line" style="margin-top:20px;">&nbsp;</div>
@@ -13,7 +13,7 @@
<%= submit_tag 'Save This User', :class => 'button hundred' %>

<div style="float:right;">
- <%= link_to 'Delete This User', {:action => 'destroy', :id => @user}, :confirm => 'Are you sure?', :class => 'action', :post => true %>
+ <%= link_to 'Delete This User', {:action => 'destroy', :id => @user}, :confirm => 'Are you sure?', :method => 'post', :class => 'action' %>
</div>



Powered by Google Project Hosting