Fix pages views when signed out
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
32b1c2748a
commit
3bd07472b2
@ -6,7 +6,7 @@
|
|||||||
context: "privacy", key: "body", rich_text: true,
|
context: "privacy", key: "body", rich_text: true,
|
||||||
default: "No content yet. Please add a privacy policy.") %>
|
default: "No content yet. Please add a privacy policy.") %>
|
||||||
|
|
||||||
<% if current_user.is_admin? %>
|
<% if user_signed_in? && current_user.is_admin? %>
|
||||||
<div class="mt-8 pt-6 border-t border-gray-200 text-right">
|
<div class="mt-8 pt-6 border-t border-gray-200 text-right">
|
||||||
<%= render EditContentButtonComponent.new(
|
<%= render EditContentButtonComponent.new(
|
||||||
context: "privacy", key: "body", rich_text: true,
|
context: "privacy", key: "body", rich_text: true,
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
context: "tos", key: "body", rich_text: true,
|
context: "tos", key: "body", rich_text: true,
|
||||||
default: "No content yet. Please add your terms of service.") %>
|
default: "No content yet. Please add your terms of service.") %>
|
||||||
|
|
||||||
<% if current_user.is_admin? %>
|
<% if user_signed_in? && current_user.is_admin? %>
|
||||||
<div class="mt-8 pt-6 border-t border-gray-200 text-right">
|
<div class="mt-8 pt-6 border-t border-gray-200 text-right">
|
||||||
<%= render EditContentButtonComponent.new(
|
<%= render EditContentButtonComponent.new(
|
||||||
context: "tos", key: "body", rich_text: true,
|
context: "tos", key: "body", rich_text: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user