diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index ea455c7..0b3bdbd 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -3,8 +3,8 @@ <%= raw t("helpers.user_details_text_html") %>
| <%= (t("helpers.email") + " *") %> | -<%= f.email_field :email, :as => :email %> | +<%= f.email_field :email, as: :email %> | |||||
| <%= t("helpers.first_name") %> | -<%= f.text_field :firstname, :as => :string, - :id => "first_time_login_firstname", - :autofocus => true, - :class => "text_field has-tooltip", + | <%= f.text_field :firstname, as: :string, + id: "first_time_login_firstname", + autofocus: true, + class: "text_field has-tooltip", "data-toggle" => "tooltip", "data-trigger" => "focus" , "title" => t("helpers.first_name_help_text") %> | @@ -28,8 +28,8 @@|||||
| <%= t("helpers.last_name") %> | <%= f.text_field :surname, - :as => :string, :id => "first_time_login_surname", - :class => "text_field has-tooltip", + as: :string, id: "first_time_login_surname", + class: "text_field has-tooltip", "data-toggle" => "tooltip", "data-trigger" => "focus" , "title" => t("helpers.surname_help_text") %> | @@ -39,7 +39,7 @@<%= collection_select(:user, :org_id, Org.where("parent_id IS NULL").order("name"), :id, :name, {include_blank: constant("organisation_types.organisation")}, - { :class => "typeahead org_sign_up" }) %> | + { class: "typeahead org_sign_up" }) %>|||||
| <%= t('helpers.user_details_language') %> | @@ -60,15 +60,15 @@ <% end %> - +|||||||
| <%= t("helpers.orcid_id") %> | <%= f.text_field :orcid_id , - :as => :string, - :autocomplete => "off" , - :class => "text_field has-tooltip", "data-toggle" => "tooltip", "data-html" => "true", "title" => t("helpers.orcid_html") %> | + as: :string, + autocomplete: "off" , + class: "text_field has-tooltip", "data-toggle" => "tooltip", "data-html" => "true", "title" => t("helpers.orcid_html") %>||||||
| <%= t("helpers.current_password") %> | - <%= f.password_field :current_password, :as => :password %> + <%= f.password_field :current_password, as: :password %> | ||||||
| <%= t("helpers.new_password") %> | -<%= f.password_field :password, :as => :password, :autocomplete => "off" %> + | <%= f.password_field :password, as: :password, autocomplete: "off" %> | |||||
| <%= t("helpers.password_conf") %> | -<%= f.password_field :password_confirmation, :as => :password, :autocomplete => "off" %> | +<%= f.password_field :password_confirmation, as: :password, autocomplete: "off" %> |