From e86988cc2dbf33c105ef860b975efa68a4ab224d Mon Sep 17 00:00:00 2001 From: Arnaud Levy Date: Tue, 2 Apr 2024 22:21:11 +0200 Subject: [PATCH] Revert "Fix #1657 (#1670)" (#1749) This reverts commit 5eca6bf7b535b73ec2edb0579d9d97667e5c5d4e. --- app/views/admin/university/people/static.html.erb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/views/admin/university/people/static.html.erb b/app/views/admin/university/people/static.html.erb index 7cbee45ef..a957b3856 100644 --- a/app/views/admin/university/people/static.html.erb +++ b/app/views/admin/university/people/static.html.erb @@ -38,11 +38,9 @@ contact_details: <%= render 'admin/application/static/contact_detail', variable: :phone_personal, data: @about.phone_personal, kind: ContactDetails::Phone %> <%= render 'admin/application/static/contact_detail', variable: :email, data: @about.email, kind: ContactDetails::Email %> <% if @about.best_picture.attached? %> -image: - - id: "<%= @about.best_picture.blob.id %>" - - alt: "" - - credit: - <%= prepare_html_for_static @about.picture_credit %> +image: "<%= @about.best_picture.blob.id %>" +credit: >- + <%= prepare_html_for_static @about.picture_credit %> <% end %> roles: <% if @about.author.for_website?(@website) %>