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
|
2020-04-19 14:09:41 -07:00
|
|
|
.row
|
|
|
|
= render 'settings_tabs'
|
|
|
|
.col-md-9.col-xs-12.col-sm-8
|
|
|
|
= render 'layouts/messages'
|
2020-04-19 14:31:24 -07:00
|
|
|
.card
|
2020-04-19 14:09:41 -07:00
|
|
|
.card-body
|
|
|
|
= bootstrap_form_for(current_user, url: {action: "edit_privacy"}, method: "patch") do |f|
|
2015-01-03 12:58:56 -08:00
|
|
|
|
2020-04-19 14:09:41 -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
|
|
|
|
2020-04-19 14:09:41 -07:00
|
|
|
= f.submit t('views.actions.save'), class: 'btn btn-primary'
|