small fix
This commit is contained in:
parent
081dea82ba
commit
e791f2c277
|
@ -48,9 +48,9 @@
|
|||
<% else %>
|
||||
<a href="/admin/registered_site/change_access/<%= site.site_token %>?status=revoke<%= "&page=#{params[:page]}" if params[:page]%><%= "&keywords=#{params[:keywords]}" if params[:keywords] %>" class="btn btn-warning" data-remote="true">Revoke</a>
|
||||
<% end %>
|
||||
<%# if current_user.is_admin? %>
|
||||
<a href="/admin/registered_sites/<%= site.id.to_s %>?s=s<%= "&page=#{params[:page]}" if params[:page]%><%= "&keywords=#{params[:keywords]}" if params[:keywords] %>" class="btn btn-danger" data-remote="true" data-method="delete"><i class="icons-trash"></i></a>
|
||||
<%# end %>
|
||||
<% if current_user.is_admin? %>
|
||||
<a href="/admin/registered_sites/<%= site.id.to_s %>?s=s<%= "&page=#{params[:page]}" if params[:page]%><%= "&keywords=#{params[:keywords]}" if params[:keywords] %>" class="btn btn-danger" data-remote="true" data-method="delete" data-confirm="Are you sure?"><i class="icons-trash"></i></a>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue