+
<%= inline_svg_tag("small-medal.svg", aria: true, class: "crayons-icon", title: get_ama_or_op_banner(commentable)) %>
<% end %>
diff --git a/app/views/shared/authentication/_email_registration_form.html.erb b/app/views/shared/authentication/_email_registration_form.html.erb
index e64e56f03..d83bd4f11 100644
--- a/app/views/shared/authentication/_email_registration_form.html.erb
+++ b/app/views/shared/authentication/_email_registration_form.html.erb
@@ -52,7 +52,7 @@
<%= f.label :name, class: "crayons-field__label", aria: { label: "Name" } do %>
Name
- *
+ *
<% end %>
<%= f.text_field :name, class: "crayons-textfield", required: true %>
@@ -60,7 +60,7 @@
<%= f.label :username, class: "crayons-field__label", aria: { label: "Username" } do %>
Username
- *
+ *
<% end %>
<%= f.text_field :username, class: "crayons-textfield", required: true %>
@@ -68,7 +68,7 @@
<%= f.label :email, class: "crayons-field__label", aria: { label: "Email" } do %>
Email
- *
+ *
<% end %>
<%= f.email_field :email, autocomplete: "email", class: "crayons-textfield", required: true %>
@@ -76,7 +76,7 @@
<%= f.label :password, class: "crayons-field__label", aria: { label: "Password" } do %>
Password
- *
+ *
<% end %>
<%= f.password_field :password, autocomplete: "current-password", class: "crayons-textfield", required: true %>
@@ -84,7 +84,7 @@
<%= f.label :password_confirmation, class: "crayons-field__label", aria: { label: "Password Confirmation" } do %>
Password Confirmation
- *
+ *
<% end %>
<%= f.password_field :password_confirmation, autocomplete: "current-password", class: "crayons-textfield", required: true %>
diff --git a/spec/helpers/authentication_helper_spec.rb b/spec/helpers/authentication_helper_spec.rb
index 784b7a0e7..f421e1030 100644
--- a/spec/helpers/authentication_helper_spec.rb
+++ b/spec/helpers/authentication_helper_spec.rb
@@ -81,8 +81,8 @@ RSpec.describe AuthenticationHelper, type: :helper do
allow(Settings::Authentication).to receive(:allow_email_password_registration).and_return(false)
end
- it "returns 'crayons-tooltip' class for relevant helpers" do
- expect(tooltip_class_on_auth_provider_enablebtn).to eq("crayons-tooltip")
+ it "returns 'crayons-hover-tooltip' class for relevant helpers" do
+ expect(tooltip_class_on_auth_provider_enablebtn).to eq("crayons-hover-tooltip")
end
it "returns 'disabled' attribute for relevant helper" do