daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest May 16th, 2018 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <% if @page.path? %>
  2.     <% if !@page.path.empty? %>
  3.         <div class="form_row_attach">
  4.                 <p>
  5.                   <b>Visibility:</b><br />
  6.                   <%= f.check_box :public %> Make this page visible to the public
  7.                 </p>
  8.             </div>
  9.         <% else %>
  10.              <div style="display:none"><%= f.check_box :public, :checked => true  %></div>
  11.         <% end %>
  12.     <!--  else, do that one thing, with the message like  -->
  13.      <p><strong>Note:</strong> This box must be checked on the home page for guest access to the site</p>
  14. <% end %>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top