diff --git a/app/views/admin/communication/websites/pages/_form.html.erb b/app/views/admin/communication/websites/pages/_form.html.erb index ddf7c391408e571aca1314dfa7056bbf8d25f52c..c9b287d2e7343350379e648cacb320c9b1d73ff1 100644 --- a/app/views/admin/communication/websites/pages/_form.html.erb +++ b/app/views/admin/communication/websites/pages/_form.html.erb @@ -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"> diff --git a/app/views/admin/research/theses/show.html.erb b/app/views/admin/research/theses/show.html.erb index 9ed9ecdedc67e48982d7c7f341fc09858b6a2faa..52ae8eb490b6171c8d0aa369ed54832cdb8d9824 100644 --- a/app/views/admin/research/theses/show.html.erb +++ b/app/views/admin/research/theses/show.html.erb @@ -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>