2015-05-13 15:02:19 -07:00
|
|
|
- provide(:title, generate_title("Privacy Settings"))
|
2015-01-03 12:58:56 -08:00
|
|
|
.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|
|
|
|
|
|
2015-06-07 06:10:17 -07:00
|
|
|
= f.check_box :privacy_allow_anonymous_questions, label: t('views.settings.privacy.anonymous')
|
|
|
|
= f.check_box :privacy_allow_public_timeline, label: t('views.settings.privacy.public')
|
|
|
|
= f.check_box :privacy_allow_stranger_answers, label: t('views.settings.privacy.stranger')
|
2015-01-03 12:58:56 -08:00
|
|
|
|
2015-06-07 06:10:17 -07:00
|
|
|
= f.submit t('views.actions.save'), class: 'btn btn-primary'
|