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

Fix

parent 59f20acf
No related branches found
No related tags found
No related merge requests found
...@@ -16,12 +16,12 @@ ...@@ -16,12 +16,12 @@
<div class="col-lg-4"> <div class="col-lg-4">
<%= link_to t('admin.communication.blocks.headings.add'), <%= link_to t('admin.communication.blocks.headings.add'),
new_admin_communication_heading_path(about_id: about.id, about_type: about.class.name), new_admin_communication_heading_path(about_id: about.id, about_type: about.class.name),
class: 'py-5 px-2 d-block bg-light text-center border h4' if can? :create, Communication::Block::Heading%> class: 'py-5 px-2 d-block bg-light text-center border h4' if can? :create, Communication::Block::Heading %>
</div> </div>
<div class="col-lg-8"> <div class="col-lg-8">
<%= link_to t('admin.communication.blocks.add'), <%= link_to t('admin.communication.blocks.add'),
new_admin_communication_block_path(about_id: about.id, about_type: about.class.name), new_admin_communication_block_path(about_id: about.id, about_type: about.class.name),
class: 'py-5 px-2 d-block bg-light text-center border h4' if can? :create, Communication::Block%> class: 'py-5 px-2 d-block bg-light text-center border h4' if can? :create, Communication::Block %>
</div> </div>
</div> </div>
</div> </div>
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