From 0621b052eb462aa9b480130163425f68dca6e7ca Mon Sep 17 00:00:00 2001 From: drusepth Date: Tue, 10 Jan 2023 16:00:26 -0800 Subject: [PATCH] -w --- app/views/content/show.html.erb | 334 ++++++++++++++++---------------- 1 file changed, 169 insertions(+), 165 deletions(-) diff --git a/app/views/content/show.html.erb b/app/views/content/show.html.erb index f642e546..026e83e8 100644 --- a/app/views/content/show.html.erb +++ b/app/views/content/show.html.erb @@ -1,189 +1,193 @@ - - -
- -
- -
- <% if @serialized_content.class_name == Universe.name %> - <%= render partial: 'content/tailwind_components/universe_context_sidenav', locals: { content: @serialized_content } %> - <% else %> - <%= render partial: 'content/tailwind_components/content_context_sidenav', locals: { content: @serialized_content } %> - <% end %> - -
-
- <%= render partial: 'content/tailwind_components/content_header', locals: { content: @serialized_content } %>
+ - <%= render partial: 'content/tailwind_components/content_fields_display', locals: { content: @serialized_content } %> +
  • +
    + + <%= link_to @serialized_content.class_name.pluralize, send("#{@serialized_content.class_name.downcase.pluralize}_path"), class: 'ml-4 text-sm font-medium text-gray-500 hover:text-gray-700' %> +
    +
  • + +
  • +
    + + <%= link_to @serialized_content.name, @serialized_content.raw_model, class: 'ml-4 text-sm font-medium text-gray-500 hover:text-gray-700', aria: { current: 'page' } %> +
    +
  • + + +
    +
    + +
    +
    + + +
    + - -
    -