<%= form_for @settings, as: :profile_data, url: { action: 'update' } do |f| %>
<%= f.check_box(:show_public_page) %>
<%= _('Enables a public welcome page that replaces the default profile'\
' page when the user is not authorized to access it') %>
<%= _('The following content will be displyed in the public welcome '\
'page, along with a button to the sign up page. If you do not '\
'set a custom content, only a default message will be displayed.') %>
<%= f.text_area(:public_page_content, class: current_editor, rows: 20) %>
<%= button_bar do %>
<%= submit_button(:save, _('Save'), :cancel => { controller: 'profile_editor', :action => 'index' }) %>
<% end %>
<% end %>