From 47e261bb57ce0cd353ceaa8043862da37f641725 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Thu, 19 Jan 2023 18:38:18 +0100 Subject: [PATCH] fix static --- app/views/admin/research/journals/papers/static.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/admin/research/journals/papers/static.html.erb b/app/views/admin/research/journals/papers/static.html.erb index a246a0144..99d942531 100644 --- a/app/views/admin/research/journals/papers/static.html.erb +++ b/app/views/admin/research/journals/papers/static.html.erb @@ -2,11 +2,11 @@ title: >- <%= prepare_text_for_static @about.title %> slug: "<%= @about.slug %>" -<% if @about.paper_kind %> +<% if @about.kind %> kind: >- - <%= prepare_text_for_static @about.paper_kind %> -paper_kinds: - - "<%= @about.paper_kind.slug %>" + <%= prepare_text_for_static @about.kind %> +kinds: + - "<%= @about.kind.slug %>" <% end %> <% if @about.volume && @about.volume.path %> volumes: -- GitLab