~cytrogen/masto-fe

ref: 2126812f65aafe5d89e64e9fc324186bb9c8dc14 masto-fe/app/views/settings/privacy/show.html.haml -rw-r--r-- 1.1 KiB
2126812f — Claire Merge commit 'd9c21293aa6e105cedeff6b5e469af40a20909d9' into glitch-soc/merge-upstream 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
- content_for :page_title do
  = t('privacy.title')

- content_for :heading do
  %h2= t('settings.profile')
  = render partial: 'settings/shared/profile_navigation'

= simple_form_for @account, url: settings_privacy_path, html: { method: :put } do |f|
  = render 'shared/error_messages', object: @account

  %p.lead= t('privacy.hint_html')

  %h4= t('privacy.reach')

  %p.lead= t('privacy.reach_hint_html')

  .fields-group
    = f.input :discoverable, as: :boolean, wrapper: :with_label, recommended: true

  .fields-group
    = f.input :locked, as: :boolean, wrapper: :with_label

  %h4= t('privacy.search')

  %p.lead= t('privacy.search_hint_html')

  = f.simple_fields_for :settings, current_user.settings do |ff|
    .fields-group
      = ff.input :indexable, wrapper: :with_label

  %h4= t('privacy.privacy')

  %p.lead= t('privacy.privacy_hint_html')

  .fields-group
    = f.input :hide_collections, as: :boolean, wrapper: :with_label

  = f.simple_fields_for :settings, current_user.settings do |ff|
    .fields-group
      = ff.input :show_application, wrapper: :with_label

  .actions
    = f.button :button, t('generic.save_changes'), type: :submit