diff --git a/app/views/content/display/_tailwind_foldered_index.html.erb b/app/views/content/display/_tailwind_foldered_index.html.erb index 25237b26..00719833 100644 --- a/app/views/content/display/_tailwind_foldered_index.html.erb +++ b/app/views/content/display/_tailwind_foldered_index.html.erb @@ -72,10 +72,12 @@ <% end %>
- <%= link_to attribute_customization_path(content_type_name.downcase) do %> - + <% if Rails.application.config.content_type_names.include?(content_type_name) %> + <%= link_to attribute_customization_path(content_type_name.downcase) do %> + + <% end %> <% end %> <% if current_user.can_create?(content_type_class) || PermissionService.user_has_active_promotion_for_this_content_type(user: current_user, content_type: content_type_class.name) %> @@ -446,19 +448,20 @@ <% if content.empty? %>
<% if Rails.application.config.content_type_names.include?(content_type_name) %> -
- <%= link_to attribute_customization_path(content_type_name.downcase) do %> - - <% end %> -
+
+ <%= link_to attribute_customization_path(content_type_name.downcase) do %> + + <% end %> +
+ <% end %>
<%= link_to new_polymorphic_path(content_type_class) do %>