From dea66719f9533b128aab97114612fa29c0e6cdb2 Mon Sep 17 00:00:00 2001 From: Shipra Choudhary <51285742+shipcy@users.noreply.github.com> Date: Fri, 10 Jan 2020 01:48:23 +0530 Subject: [PATCH] Update useremail.html.erb (#7137) * Update useremail.html.erb * Update useremail.html.erb --- app/views/admin/useremail.html.erb | 44 ++++++++++++++++-------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/app/views/admin/useremail.html.erb b/app/views/admin/useremail.html.erb index 14546a10a6..db2ca45280 100644 --- a/app/views/admin/useremail.html.erb +++ b/app/views/admin/useremail.html.erb @@ -1,27 +1,31 @@
 
-

User lookup by email:

+

User lookup by email:

-

Moderators and admins have the ability to search for usernames associated with a given email address. This ability is meant to assist in answering requests submitted by email where the user forgets to specify their username; clearly the email address of the sender is known.

- <%= form_tag do %> - <%= text_field_tag(:address, value = @address) %> - <%= button_tag(:search, type: 'submit', class: "btn btn-primary") do %> - - <% end %> - - <% end %> +

Moderators and admins have the ability to search for usernames associated with a given email address. This ability is meant to assist in answering requests submitted by email where the user forgets to specify their username; clearly the email address of the sender is known.

+ <%= form_tag do %> + <%= text_field_tag(:address, value = @address) %> + <%= button_tag(:search, type: 'submit', class: "btn btn-primary") do %> + + <% end %> + + + <% end %> -<% if @address %> -

Searched for <%= @address %>

- <% if @users.length > 0 %> - - <% else %> -

No users found with that email address!

+ <% if @address %> +

Searched for <%= @address %>

+ <% if @users.length > 0 %> + + <% else %> +

No users found with that email address!

+ <% end %> <% end %> -<% end %>