闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
622 B

  1. - content_for :page_title do
  2. = t('settings.edit_profile')
  3. = simple_form_for @account, url: settings_profile_path, html: { method: :put } do |f|
  4. = render 'shared/error_messages', object: @account
  5. = f.input :display_name, placeholder: t('simple_form.labels.defaults.display_name')
  6. = f.input :note, placeholder: t('simple_form.labels.defaults.note')
  7. = f.input :avatar, wrapper: :with_label
  8. = f.input :header, wrapper: :with_label
  9. = f.input :silenced, as: :boolean, wrapper: :with_label
  10. .actions
  11. = f.button :button, t('generic.save_changes'), type: :submit
  12. .form-footer= render "settings/shared/links"