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

16 lines
692 B
Plaintext
Raw Normal View History

- provide(:title, generate_title("Privacy Settings"))
.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|
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')
2020-04-19 14:09:41 -07:00
= f.submit t('views.actions.save'), class: 'btn btn-primary'