Skip to content
Snippets Groups Projects
Commit 1ef99973 authored by Alexandre Peres Arias's avatar Alexandre Peres Arias
Browse files

fix button name and lobject name

parent 0aa1d63b
No related branches found
No related tags found
1 merge request!102fix button name and lobject name
...@@ -11,14 +11,14 @@ ...@@ -11,14 +11,14 @@
<% @complaints.each do |c| %> <% @complaints.each do |c| %>
<div class="ls-box-filter"> <div class="ls-box-filter">
Denúncia de <b><%= c.user.name %></b> para o objeto <%= link_to c.object["title"], learning_object_path(c.object["@rid"]) %><BR> Denúncia de <b><%= c.user.name %></b> para o objeto <%= link_to c.object["name"], learning_object_path(c.object["@rid"]) %><BR>
<BR> <BR>
<b>Mensagem:</b> <%= c.message %><BR> <b>Mensagem:</b> <%= c.message %><BR>
<BR> <BR>
<b>Descrição:</b> <%= c.description == "" ? "--" : c.description %><BR> <b>Descrição:</b> <%= c.description == "" ? "--" : c.description %><BR>
<div id="suspend", class="ls-btn ls-float-right"> <div id="suspend", class="ls-btn ls-float-right">
<%= link_to 'Excluir Denúncia', management_complaints_path(:object_rid => c.object["@rid"], :user_rid => c.user.rid), {method: :delete, data: { confirm: 'Tem certeza que deseja excluir?'}, title: 'Apagar usuário', class: 'ls-color-danger', role: 'option'} %> <%= link_to 'Cancelar Denúncia', management_complaints_path(:object_rid => c.object["@rid"], :user_rid => c.user.rid), {method: :delete, data: { confirm: 'Tem certeza que deseja excluir?'}, title: 'Apagar usuário', class: 'ls-color-danger', role: 'option'} %>
</div> </div>
<div id="suspend", class="ls-btn ls-float-right"> <div id="suspend", class="ls-btn ls-float-right">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment