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 55 attachment: cannot_delete_roles.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/roles/edit.rhtml
===================================================================
--- /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/views/admin/roles/edit.rhtml (revision 43)
+++ /home/edmundo/workspace_aptana/substruct_trunk/vendor/plugins/substruct/app/views/admin/roles/edit.rhtml (working copy)
@@ -10,7 +10,7 @@
<li><a href="/admin/roles/list/">Back to Role List</a></li>
</ul>

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

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

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



Powered by Google Project Hosting