Set input types and autocomplete in profile settings

This commit is contained in:
Karina Kwiatek 2022-06-28 22:51:16 +02:00 committed by Karina Kwiatek
parent 297bacf339
commit 97d8068a09
1 changed files with 4 additions and 4 deletions

View File

@ -37,15 +37,15 @@
.card-body
= bootstrap_form_for(current_user.profile, html: { multipart: true }, method: :patch) do |f|
= f.text_field :display_name
= f.text_field :display_name, autocomplete: :name
= f.text_field :motivation_header
= f.text_field :anon_display_name, placeholder: APP_CONFIG["anonymous_name"]
= f.text_field :anon_display_name, placeholder: APP_CONFIG["anonymous_name"], autocomplete: :off
= f.text_field :website
= f.url_field :website, autocomplete: :url
= f.text_field :location
= f.text_field :location, autocomplete: "address-level2"
= f.text_area :description