Skip to content
Snippets Groups Projects
Commit 4eec7d84 authored by pabois's avatar pabois
Browse files

registration form

parent 33d1fdf5
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,8 @@
<%= f.input :picture,
as: :single_deletable_file,
input_html: { accept: '.png,.jpg' } %>
input_html: { accept: '.png,.jpg' },
preview: '200x200' %>
<%= f.input :password,
hint: t(".leave_blank_if_you_don_t_want_to_change_it"),
......
......@@ -33,7 +33,7 @@ Rails.application.configure do
end
# Store uploaded files on the local file system (see config/storage.yml for options).
config.active_storage.service = :local
config.active_storage.service = :scaleway
# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false
......
......@@ -7,6 +7,7 @@ en:
language: Favourite language
last_name: Last name
mobile_phone: Mobile phone
picture: Profile picture
researcher: Researcher profile
role: Role
models:
......
......@@ -7,6 +7,7 @@ fr:
language: Langue préférée
last_name: Nom
mobile_phone: Téléphone portable
picture: Photo de profil
researcher: Profil de chercheur
role: Rôle
models:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment