Skip to content
Snippets Groups Projects
Commit 9696bcc7 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

layout

parent 2fd4a23a
No related branches found
No related tags found
No related merge requests found
......@@ -13,9 +13,9 @@
<% @blocks.each do |block| %>
<% url = "#{block.about.university.url }#{edit_admin_communication_block_path(block)}" %>
<tr>
<td><%= block %></td>
<td><%= truncate "#{block}" %></td>
<td>
<%= block.about %>
<%= truncate "#{block.about}" %>
<span class="badge bg-dark">
<%= block.about.class.model_name.human %>
</span>
......@@ -23,8 +23,7 @@
<td><%= block.about.university %></td>
<td><%= link_to 'Open',
url,
target: :_blank,
class: button_classes %></td>
target: :_blank %></td>
</tr>
<% end %>
</tbody>
......
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