Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% if @page.path? %>
- <% if !@page.path.empty? %>
- <div class="form_row_attach">
- <p>
- <b>Visibility:</b><br />
- <%= f.check_box :public %> Make this page visible to the public
- </p>
- </div>
- <% else %>
- <div style="display:none"><%= f.check_box :public, :checked => true %></div>
- <% end %>
- <!-- else, do that one thing, with the message like -->
- <p><strong>Note:</strong> This box must be checked on the home page for guest access to the site</p>
- <% end %>
Add Comment
Please, Sign In to add comment