Retrospring/app/views/settings/privacy/edit.html.haml

14 lines
472 B
Plaintext
Raw Normal View History

2020-04-25 08:04:23 -07:00
.card
.card-body
2022-09-04 05:54:28 -07:00
= bootstrap_form_for(current_user, url: settings_privacy_path, method: :patch, data: { turbo: false }) do |f|
= f.check_box :privacy_lock_inbox
= f.check_box :privacy_allow_anonymous_questions
= f.check_box :privacy_require_user
= f.check_box :privacy_allow_public_timeline
= f.check_box :privacy_allow_stranger_answers
2020-04-25 08:04:23 -07:00
= f.primary
- provide(:title, generate_title(t(".title")))
- parent_layout "user/settings"