From 67b02717db2f130ec87804e04231bcc0a17bbbf1 Mon Sep 17 00:00:00 2001 From: "Luis M. Rodriguez-R" Date: Sun, 28 Jul 2024 17:59:11 +0200 Subject: [PATCH] Update wiki.html.erb --- app/views/names/wiki.html.erb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/views/names/wiki.html.erb b/app/views/names/wiki.html.erb index e6beba0..fb37450 100644 --- a/app/views/names/wiki.html.erb +++ b/app/views/names/wiki.html.erb @@ -12,12 +12,6 @@
<%=
     render(partial: 'names/wiki/wikispecies_template')
   %>
- <% if @name.parent.present? %> -

- Make sure to also register the - <%= link_to('parent wikispecies template', wiki_name_url(@name.parent)) %> -

- <% end %>
<% end %> @@ -30,6 +24,13 @@
<%=
   render(partial: 'names/wiki/wikispecies_page')
 %>
+<% if @name.parent.present? %> +

+ Make sure to also register the + <%= link_to('parent wikispecies template', wiki_name_url(@name.parent)) %> +

+<% end %> +

<%= render(partial: 'shared/cc') %>