diff --git a/app/views/passwords/edit.html.erb b/app/views/passwords/edit.html.erb
index 544f5b45a69..dfd6dbf8e70 100644
--- a/app/views/passwords/edit.html.erb
+++ b/app/views/passwords/edit.html.erb
@@ -1,21 +1,21 @@
-<% @title = t('.title') %>
+<% @title = t(".title") %>
<%= form_for(:password_reset, url: password_path, html: { method: :put }) do |form| %>
<%= error_messages_for @user %>
- <%= form.label :password, t("activerecord.attributes.user.password"), :class => 'form__label' %>
- <%= form.password_field :password, autocomplete: 'new-password', class: 'form__input' %>
+ <%= form.label :password, t("activerecord.attributes.user.password"), :class => "form__label" %>
+ <%= form.password_field :password, autocomplete: "new-password", class: "form__input" %>
- <%= form.check_box :reset_api_key, { :class => 'form__checkbox__input' } , 'true', 'false' %>
- <%= form.label :reset_api_key, t('settings.edit.api_access.reset'), :class => 'form__checkbox__label' %>
+ <%= form.check_box :reset_api_key, { :class => "form__checkbox__input" } , "true", "false" %>
+ <%= form.label :reset_api_key, t("settings.edit.api_access.reset"), :class => "form__checkbox__label" %>
- <%= form.check_box :reset_api_keys, { :class => 'form__checkbox__input' } , 'true', 'false' %>
- <%= form.label :reset_api_keys, t('settings.edit.api_access.reset_all'), :class => 'form__checkbox__label' %>
+ <%= form.check_box :reset_api_keys, { :class => "form__checkbox__input" } , "true", "false" %>
+ <%= form.label :reset_api_keys, t("settings.edit.api_access.reset_all"), :class => "form__checkbox__label" %>
- <%= form.submit t('.submit'), :data => {:disable_with => t('form_disable_with')}, :class => 'form__submit' %>
+ <%= form.submit t(".submit"), :data => { :disable_with => t("form_disable_with") }, :class => "form__submit" %>
<% end %>
diff --git a/app/views/profiles/delete.html.erb b/app/views/profiles/delete.html.erb
index 6f09228ac2c..b65961163bd 100644
--- a/app/views/profiles/delete.html.erb
+++ b/app/views/profiles/delete.html.erb
@@ -1,13 +1,13 @@
-<% @title = t('.title') %>
+<% @title = t(".title") %>
<% if @only_owner_gems.any? %>
-
<%= (t '.list_only_owner_html', command_link: link_to('gem owner', 'https://guides.rubygems.org/command-reference/#gem-owner')) %>
+
<%= (t(".list_only_owner_html", command_link: link_to("gem owner", "https://guides.rubygems.org/command-reference/#gem-owner"))) %>
- <%= render partial: 'rubygem', collection: @only_owner_gems, locals: {owners: true} %>
+ <%= render partial: "rubygem", collection: @only_owner_gems, locals: {owners: true} %>
@@ -15,24 +15,24 @@
<% if @multi_owner_gems.any? %>
-
<%= t '.list_multi_owner' %>
+
<%= t(".list_multi_owner") %>
- <%= render partial: 'rubygem', collection: @multi_owner_gems, locals: {owners: true} %>
+ <%= render partial: "rubygem", collection: @multi_owner_gems, locals: {owners: true} %>
<% end %>
-
<%= t '.instructions' %>
+
<%= t(".instructions") %>
<%= form_for current_user, url: destroy_profile_path, method: :delete do |form| %>
- <%= form.label :password, t("activerecord.attributes.user.password"), class: 'form__label' %>
- <%= form.password_field :password, placeholder: t("activerecord.attributes.user.password"), autocomplete: 'current-password', class: 'form__input' %>
+ <%= form.label :password, t("activerecord.attributes.user.password"), class: "form__label" %>
+ <%= form.password_field :password, autocomplete: "current-password", class: "form__input" %>
- <%= form.submit t('.confirm'), data: { confirm: "This action can't be UNDONE! Are you sure?" }, class: 'form__submit' %>
+ <%= form.submit t(".confirm"), data: { confirm: "This action can't be UNDONE! Are you sure?" }, class: "form__submit" %>
<% end %>
diff --git a/app/views/profiles/edit.html.erb b/app/views/profiles/edit.html.erb
index 0af673a168c..efaa2a88068 100644
--- a/app/views/profiles/edit.html.erb
+++ b/app/views/profiles/edit.html.erb
@@ -1,87 +1,86 @@
-<% @title = t('.title') %>
+<% @title = t(".title") %>
-<%= form_for @user, :url => {:controller => 'profiles', :action => 'update'} do |form| %>
+<%= form_for @user, :url => { :controller => "profiles", :action => "update" } do |form| %>
<%= error_messages_for(@user) %>
- <%= form.label :avatar, :class => 'form__label' %>
+ <%= form.label :avatar, :class => "form__label" %>
<%= avatar(160) %>
<% if @user.public_email? %>
- <%= link_to t('.change_avatar'), 'https://www.gravatar.com', :class => 't-text t-link' %>
+ <%= link_to t(".change_avatar"), "https://www.gravatar.com", :class => "t-text t-link" %>
<% else %>
- <%= content_tag 'i', t('.disabled_avatar_html'), :class => 't-text' %>
+ <%= content_tag "i", t(".disabled_avatar_html"), :class => "t-text" %>
<% end %>
- <%= form.label :handle, :class => 'form__label' %>
- <%= form.text_field :handle, :class => 'form__input' %>
+ <%= form.label :handle, :class => "form__label" %>
+ <%= form.text_field :handle, :class => "form__input" %>
- <%= form.label :twitter_username, class: 'form__label form__label__icon-container' do %>
+ <%= form.label :twitter_username, class: "form__label form__label__icon-container" do %>
<%=
- image_tag("/images/x_icon.png", alt: 'X icon', class: 'form__label__icon')
+ image_tag("/images/x_icon.png", alt: "X icon", class: "form__label__icon")
%>
-
<%= t('.twitter_username') %>
+
<%= t(".twitter_username") %>
<% end %>
-
- <%= t('.optional_twitter_username') %>
+
+ <%= t(".optional_twitter_username") %>
@
- <%= form.text_field(:twitter_username, class: 'form__input') %>
+ <%= form.text_field(:twitter_username, class: "form__input") %>
<% if current_user.unconfirmed_email %>
-
- <%= t('.email_awaiting_confirmation', unconfirmed_email: current_user.unconfirmed_email) %>
+
+ <%= t(".email_awaiting_confirmation", unconfirmed_email: current_user.unconfirmed_email) %>
- <%= link_to "Resend confirmation", unconfirmed_email_confirmations_path, method: :patch, class: 'form__field__instructions t-link' %>
+ <%= link_to "Resend confirmation", unconfirmed_email_confirmations_path, method: :patch, class: "form__field__instructions t-link" %>
<% end %>
- <%= form.label :email, :class => 'form__label' %>
- <%= form.email_field :email, name: 'user[unconfirmed_email]', class: 'form__input' %>
+ <%= form.label :email, :class => "form__label" %>
+ <%= form.email_field :email, name: "user[unconfirmed_email]", class: "form__input" %>
- <%= form.label :full_name, :class => 'form__label' %>
-
- <%= t('.optional_full_name') %>
+ <%= form.label :full_name, :class => "form__label" %>
+
+ <%= t(".optional_full_name") %>
- <%= form.text_field :full_name, :class => 'form__input' %>
+ <%= form.text_field :full_name, :class => "form__input" %>
- <%= form.label :password, t("activerecord.attributes.user.password"), :class => 'form__label' %>
-
- <%= t('.enter_password') %>
+ <%= form.label :password, t("activerecord.attributes.user.password"), :class => "form__label" %>
+
+ <%= t(".enter_password") %>
- <%= form.password_field :password, autocomplete: 'current-password', class: 'form__input', required: true %>
+ <%= form.password_field :password, autocomplete: "current-password", class: "form__input", required: true %>
-
- <%= form.check_box :public_email, :class => 'form__checkbox__input' %>
- <%= form.label :public_email, t('profiles.public_email'), :class => 'form__checkbox__label' %>
+ <%= form.check_box :public_email, :class => "form__checkbox__input" %>
+ <%= form.label :public_email, t("profiles.public_email"), :class => "form__checkbox__label" %>
- <%= form.submit t("update"), :data => {:disable_with => t('form_disable_with')}, :class => 'form__submit' %>
+ <%= form.submit t("update"), :data => { :disable_with => t("form_disable_with") }, :class => "form__submit" %>
<% end %>
-
<%= t '.delete.delete_profile' %>
-
<%= t '.delete.warning' %>
- <%= button_to t('.delete.delete'), delete_profile_path, method: 'get', class: 'form__submit' %>
+
<%= t(".delete.delete_profile") %>
+
<%= t(".delete.warning") %>
+ <%= button_to t(".delete.delete"), delete_profile_path, method: "get", class: "form__submit" %>
diff --git a/app/views/settings/edit.html.erb b/app/views/settings/edit.html.erb
index 074430d9887..27ac35cc093 100644
--- a/app/views/settings/edit.html.erb
+++ b/app/views/settings/edit.html.erb
@@ -1,7 +1,7 @@
<% @title = t(".title") %>
-
<%= t ".mfa.multifactor_auth" %>
+
<%= t(".mfa.multifactor_auth") %>
<% if @user.mfa_enabled? %>
-
<%= link_to t('.reset_password.title'), new_password_path %>
+ <%= link_to t(".reset_password.title"), new_password_path %>
-
<%= link_to t('api_keys.index.api_keys'), profile_api_keys_path %>
+ <%= link_to t("api_keys.index.api_keys"), profile_api_keys_path %>
-
<%= link_to t('oidc.pending_trusted_publishers.index.title'), profile_oidc_pending_trusted_publishers_path %>
+ <%= link_to t("oidc.pending_trusted_publishers.index.title"), profile_oidc_pending_trusted_publishers_path %>
<%= t("oidc.pending_trusted_publishers.index.description_html") %>
<% if @user.oidc_api_key_roles.any? %>
-
<%= link_to t('oidc.api_key_roles.index.api_key_roles'), profile_oidc_api_key_roles_path %>
+ <%= link_to t("oidc.api_key_roles.index.api_key_roles"), profile_oidc_api_key_roles_path %>
<% end %>