diff --git a/app/views/settings/_privacy.haml b/app/views/settings/_privacy.haml index 7e660c66..1c3bb36b 100644 --- a/app/views/settings/_privacy.haml +++ b/app/views/settings/_privacy.haml @@ -1,9 +1,8 @@ .card .card-body - = bootstrap_form_for(current_user, url: { action: 'edit_privacy' }, method: :patch) do |f| + = bootstrap_form_for(current_user, url: { action: "edit_privacy" }, method: :patch) do |f| + = f.check_box :privacy_allow_anonymous_questions + = f.check_box :privacy_allow_public_timeline + = f.check_box :privacy_allow_stranger_answers - = 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') - - = f.submit t('views.actions.save'), class: 'btn btn-primary' + = f.primary diff --git a/config/locales/activerecord.en.yml b/config/locales/activerecord.en.yml index c20de781..b159238c 100644 --- a/config/locales/activerecord.en.yml +++ b/config/locales/activerecord.en.yml @@ -54,6 +54,9 @@ en: remember_created_at: "Remember me set at" password: "Password" password_confirmation: "Confirm your password" + privacy_allow_anonymous_questions: "Allow anonymous questions" + privacy_allow_public_timeline: "Show your answers in the public timeline" + privacy_allow_stranger_answers: "Allow other people to answer your questions" profile_picture: "Profile picture" profile_header: "Profile header" sign_in_count: "Sign in count"