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

Fix diploma width

parent d4801222
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,10 @@ class Communication::Website::Page::EducationDiploma < Communication::Website::P
true
end
def full_width
true
end
protected
def current_git_path
......
......@@ -35,8 +35,10 @@ action = link_to t('open'), @page.url, target: :_blank, class: 'btn btn-light bt
</p>
<% end %>
<h3 class="h5"><%= Communication::Website::Page.human_attribute_name('full_width') %></h3>
<p><%= t @page.full_width %></p>
<% if @page.editable_width? %>
<h3 class="h5"><%= Communication::Website::Page.human_attribute_name('full_width') %></h3>
<p><%= t @page.full_width %></p>
<% end %>
<% if @page.children.any? %>
<h3 class="h5"><%= Communication::Website::Page.human_attribute_name('children') %></h3>
......
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