From db40d37282a129bcade029e0056741d15ae574dd Mon Sep 17 00:00:00 2001 From: Avkaran Singh <25536022+avsingh999@users.noreply.github.com> Date: Sat, 20 Apr 2019 02:02:06 +0530 Subject: [PATCH] add required in Login (#537) * improve search * add required in login * improve search * add required in login --- app/views/layouts/_login_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_login_form.html.erb b/app/views/layouts/_login_form.html.erb index 1e4d739e..9c90621e 100644 --- a/app/views/layouts/_login_form.html.erb +++ b/app/views/layouts/_login_form.html.erb @@ -10,7 +10,7 @@
- <%= text_field_tag 'open_id', @login, { :placeholder => "Username (not email)", :tabindex => 1, :class => 'form-control', :id => 'username-login' } %> + <%= text_field_tag 'open_id', @login, { :required => true, :placeholder => "Username (not email)", :tabindex => 1, :class => 'form-control', :id => 'username-login' } %>