% if @landing_page %>
(Determines the way page's body will be embedded in the layout)
json)
<%= form.text_area :body_json, class: "form-control" %>
Determines if it is accessible by /page-slug vs /page/page-slug Be careful! ⚠️
Determines if this page will be used as a landing page for anonymous viewers.
<%= link_to "Feature Flag", "/admin/feature_flags" %>
">
<%= FeatureFlag.exist?(@page.feature_flag_name) ? "Present" : "Not Present" %>
<% if FeatureFlag.exist?(@page.feature_flag_name) %>
Access to this page is being guarded by the feature flag <%= @page.feature_flag_name %>.
<%= link_to "Modify flag here", "/admin/feature_flags/features/#{@page.feature_flag_name}" %>
<% else %>
Everyone has access. Optionally guard access to this page by creating feature <%= @page.feature_flag_name %>
<%= link_to "here", "/admin/feature_flags/features" %>
<% end %>