- <% if id.nil? || id.identifier == '' %>
- <%= link_to 'Create or connect your ORCID iD', Rails.application.routes.url_helpers.send("user_#{scheme.name.downcase}_omniauth_authorize_path"), id:"connect-orcid-button", target: '_blank', title: t("identifier_schemes.schemes.#{scheme.name}.connect_tooltip", default: "") %>
+<% if id.nil? || id.identifier == '' %>
+ <%= link_to 'Create or connect your ORCID iD', Rails.application.routes.url_helpers.send("user_#{scheme.name.downcase}_omniauth_authorize_path"), id:"connect-orcid-button", target: '_blank', title: t("identifier_schemes.schemes.#{scheme.name}.connect_tooltip", default: "") %>
+<% else %>
+ <% if scheme.user_landing_url.nil? %>
+ <%= _("Your account has been linked to #{scheme.description}.") %>
<% else %>
- <% if scheme.user_landing_url.nil? %>
- <%= _("Your account has been linked to #{scheme.description}.") %>
- <% else %>
- <%= link_to (image_tag("#{scheme.logo_url}", id: 'orcid-id-logo', alt: scheme.description)) + "#{scheme.user_landing_url}/#{id.identifier}", "#{scheme.user_landing_url}/#{id.identifier}", id: 'orcid-id', target: '_blank', title: t("identifier_schemes.schemes.#{scheme.name}.connect_tooltip", default: "") %>
- <% end %>
- <% title = _("Unlink your account from #{scheme.description}. You can link again at any time.") %>
- <%= link_to ''.html_safe,
- destroy_user_identifier_path(id), method: :delete, title: title, 'aria-label': title,
- data: {confirm: _("Are you sure you want to unlink #{scheme.description} ID?")} %>
+ <%= link_to (image_tag("#{scheme.logo_url}", id: 'orcid-id-logo', alt: scheme.description)) + "#{scheme.user_landing_url}/#{id.identifier}", "#{scheme.user_landing_url}/#{id.identifier}", id: 'orcid-id', target: '_blank', title: t("identifier_schemes.schemes.#{scheme.name}.connect_tooltip", default: "") %>
<% end %>
-
\ No newline at end of file
+ <% title = _("Unlink your account from #{scheme.description}. You can link again at any time.") %>
+ <%= link_to ''.html_safe,
+ destroy_user_identifier_path(id), method: :delete, title: title, 'aria-label': title,
+ data: {confirm: _("Are you sure you want to unlink #{scheme.description} ID?")} %>
+<% end %>
diff --git a/app/views/devise/registrations/_external_identifier_shibboleth.html.erb b/app/views/devise/registrations/_external_identifier_shibboleth.html.erb
index 65ca8fb..9daa7f1 100644
--- a/app/views/devise/registrations/_external_identifier_shibboleth.html.erb
+++ b/app/views/devise/registrations/_external_identifier_shibboleth.html.erb
@@ -1,21 +1,19 @@
-
- <% if id.nil? || id.identifier == '' %>
- <%= link_to "#{_("Link account with #{scheme.description} ID")}",
- Rails.application.routes.url_helpers.send(
- "user_#{scheme.name.downcase}_omniauth_authorize_path"
- ),
- title: t("identifier_schemes.schemes.#{scheme.name}.connect_tooltip", default: "")
- %>
+<% if id.nil? || id.identifier == '' %>
+ <%= link_to "#{_("Link account with #{scheme.description} ID")}",
+ Rails.application.routes.url_helpers.send(
+ "user_#{scheme.name.downcase}_omniauth_authorize_path"
+ ),
+ title: t("identifier_schemes.schemes.#{scheme.name}.connect_tooltip", default: "")
+ %>
+<% else %>
+ <% if scheme.user_landing_url.nil? %>
+ <%= _("Your account has been linked to #{scheme.description}.") %>
<% else %>
- <% if scheme.user_landing_url.nil? %>
- <%= _("Your account has been linked to #{scheme.description}.") %>
- <% else %>
- <%= link_to "#{_("Your account has been linked to #{scheme.description}.")}", "#{scheme.user_landing_url}/#{id.identifier}", target: '_blank',
- title: t("identifier_schemes.schemes.#{scheme.name}.connect_tooltip", default: "") %>
- <% end %>
- <% title = _("Unlink your account from #{scheme.description}. You can link again at any time.") %>
- <%= link_to ''.html_safe,
- destroy_user_identifier_path(id), method: :delete, title: title, 'aria-label': title,
- data: {confirm: _("Are you sure you want to unlink #{scheme.description} ID?")} %>
+ <%= link_to "#{_("Your account has been linked to #{scheme.description}.")}", "#{scheme.user_landing_url}/#{id.identifier}", target: '_blank',
+ title: t("identifier_schemes.schemes.#{scheme.name}.connect_tooltip", default: "") %>
<% end %>
-
\ No newline at end of file
+ <% title = _("Unlink your account from #{scheme.description}. You can link again at any time.") %>
+ <%= link_to ''.html_safe,
+ destroy_user_identifier_path(id), method: :delete, title: title, 'aria-label': title,
+ data: {confirm: _("Are you sure you want to unlink #{scheme.description} ID?")} %>
+<% end %>
diff --git a/app/views/devise/registrations/_password_details.html.erb b/app/views/devise/registrations/_password_details.html.erb
index a5b7937..26cf54b 100644
--- a/app/views/devise/registrations/_password_details.html.erb
+++ b/app/views/devise/registrations/_password_details.html.erb
@@ -1,44 +1,43 @@
-<%= form_for(resource, as: resource_name, url: registration_path(resource_name, tab: 'password-details-tab'), html: {method: :put, class: "roadmap-form white_background"}) do |f| %>
-