Retrospring/app/views/user/edit_privacy.html.haml

15 lines
693 B
Plaintext
Raw Normal View History

2015-05-10 10:48:47 -07:00
- provide(:title, "Privacy Settings | #{APP_CONFIG['site_name']}")
.container.j2-page
= render 'settings_tabs'
.col-md-9.col-xs-12.col-sm-9
= render 'layouts/messages'
.panel.panel-default
.panel-body
= bootstrap_form_for(current_user, url: {action: "edit_privacy"}, method: "patch") do |f|
= f.check_box :privacy_allow_anonymous_questions, label: "Allow anonymous questions"
= f.check_box :privacy_allow_public_timeline, label: "Show your answers in the public timeline"
= f.check_box :privacy_allow_stranger_answers, label: "Allow other people to answer your questions"
2015-05-10 10:48:47 -07:00
= f.submit "Save settings", class: 'btn btn-primary'