fix link
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
<td><%= script_with_line_breaks(request.script) %></td>
|
<td><%= script_with_line_breaks(request.script) %></td>
|
||||||
<td id="request-status-for-<%= request.id %>"><%= request.status %></td>
|
<td id="request-status-for-<%= request.id %>"><%= request.status %></td>
|
||||||
<td>
|
<td>
|
||||||
<% if CurrentUser.is_moderator? && request.status == "pending" %>
|
<% if CurrentUser.is_admin? && request.status == "pending" %>
|
||||||
<%= link_to "Approve", approve_bulk_update_request_path(request), :remote => true, :method => :post %> |
|
<%= link_to "Approve", approve_bulk_update_request_path(request), :remote => true, :method => :post %> |
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if request.editable?(CurrentUser.user) %>
|
<% if request.editable?(CurrentUser.user) %>
|
||||||
|
|||||||
Reference in New Issue
Block a user