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

Fix

parent e9278299
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,7 @@ url = page.new_record? ? admin_communication_website_pages_path
</div>
<div class="col-md-4">
<% unless page.is_home? %>
<section class="mb-5">
<h2 class="h3"><%= t('metadata') %></h2>
<%= osuny_panel t('metadata') do %>
<%= f.input :published if page.draftable? %>
<%= f.input :slug,
as: :string,
......@@ -41,7 +40,7 @@ url = page.new_record? ? admin_communication_website_pages_path
value_method: ->(p) { p[:id] } unless page.is_home? %>
<%= f.input :bodyclass if can?(:edit, @website) %>
<%= f.input :full_width if page.editable_width? %>
</section>
<% end %>
<% else %>
<% if @website.languages.many? %>
<div class="card flex-fill w-100">
......
......@@ -4,7 +4,7 @@
<div class="col-xl-6">
<%= simple_format @thesis.abstract %>
</div>
<div class="col-xl-6">
<div class="offset-xl-1 col-xl-5">
<% if @thesis.started_at %>
<%= osuny_label Research::Thesis.human_attribute_name('started_at') %>
<p><%= l @thesis.started_at %></p>
......
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