##// END OF EJS Templates
replaced some submit buttons by links on projects/settings...
Jean-Philippe Lang -
r116:451ec230601e
parent child
Show More
@@ -27,11 +27,7
27 <% end %>
27 <% end %>
28 </td>
28 </td>
29 <td>
29 <td>
30 <% if authorize_for('members', 'destroy') %>
30 <%= link_to_if_authorized l(:button_delete), {:controller => 'members', :action => 'destroy', :id => member}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %>
31 <%= start_form_tag :controller => 'members', :action => 'destroy', :id => member %>
32 <%= submit_tag l(:button_delete), :class => "button-small" %>
33 <%= end_form_tag %>
34 <% end %>
35 </td>
31 </td>
36 </tr>
32 </tr>
37 <% end %>
33 <% end %>
@@ -60,14 +56,9
60 <td width="100"><strong><%=h version.name %></strong></td>
56 <td width="100"><strong><%=h version.name %></strong></td>
61 <td width="100"><%= format_date(version.effective_date) %></td>
57 <td width="100"><%= format_date(version.effective_date) %></td>
62 <td><%=h version.description %></td>
58 <td><%=h version.description %></td>
63 <td>&nbsp;&nbsp;&nbsp;
59 <td>
64 <%= link_to_if_authorized l(:button_edit), :controller => 'versions', :action => 'edit', :id => version %>
60 <%= link_to_if_authorized l(:button_edit), { :controller => 'versions', :action => 'edit', :id => version }, :class => 'pic picEdit' %>
65 <% if authorize_for('versions', 'destroy') %>
61 <%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy', :id => version}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %>
66 &nbsp;
67 <%= start_form_tag :controller => 'versions', :action => 'destroy', :id => version %>
68 <%= submit_tag l(:button_delete), :class => "button-small" %>
69 <%= end_form_tag %>
70 <% end %>
71 </td>
62 </td>
72 </tr>
63 </tr>
73 <% end %>
64 <% end %>
@@ -96,11 +87,7
96 <% end %>
87 <% end %>
97 </td>
88 </td>
98 <td>
89 <td>
99 <% if authorize_for('issue_categories', 'destroy') %>
90 <%= link_to_if_authorized l(:button_delete), {:controller => 'issue_categories', :action => 'destroy', :id => @category}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %>
100 <%= start_form_tag :controller => 'issue_categories', :action => 'destroy', :id => @category %>
101 <%= submit_tag l(:button_delete), :class => "button-small" %>
102 <%= end_form_tag %>
103 <% end %>
104 </td>
91 </td>
105 </tr>
92 </tr>
106 <% end %>
93 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now