From bb5e19d79f284d298faad368cd8602a3d95a78dd Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Fri, 20 May 2022 16:26:06 +0200 Subject: [PATCH] presentation --- app/views/admin/education/programs/static.html.erb | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app/views/admin/education/programs/static.html.erb b/app/views/admin/education/programs/static.html.erb index 8a4424d1d..b2ee21bcd 100644 --- a/app/views/admin/education/programs/static.html.erb +++ b/app/views/admin/education/programs/static.html.erb @@ -1,11 +1,19 @@ --- -<% teacher_involvements = @about.university_person_involvements.includes(:person).ordered_by_name %> -<% administrator_involvements = @about.involvements_through_roles.includes(:person).ordered_by_name %> +<% +teacher_involvements = @about.university_person_involvements + .includes(:person) + .ordered_by_name +administrator_involvements = @about.involvements_through_roles + .includes(:person) + .ordered_by_name +%> title: > <%= @about.name %> url: <%= @website.special_page(:education_programs).path %><%= @about.path %> description: > <%= prepare_text_for_static @about.description %> +presentation: > + <%= prepare_text_for_static @about.presentation %> position: <%= @about.position %> <%= render 'admin/communication/unsplash/static' %> category: "<%= @website.categories.find_by(program_id: @about.id)&.path %>" @@ -53,7 +61,6 @@ continuing: <%= @about.continuing %> :other, :pedagogy, :prerequisites, - :presentation, :pricing, :registration, :results -- GitLab