forked from shibao/cannery
		
	Improve login page autocomplete behavior
This commit is contained in:
		@@ -15,10 +15,18 @@
 | 
			
		||||
    </p>
 | 
			
		||||
 | 
			
		||||
    <%= label(f, :email, gettext("Email"), class: "title text-lg text-primary-600") %>
 | 
			
		||||
    <%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %>
 | 
			
		||||
    <%= email_input(f, :email,
 | 
			
		||||
      autocomplete: :email,
 | 
			
		||||
      class: "input input-primary col-span-2",
 | 
			
		||||
      required: true
 | 
			
		||||
    ) %>
 | 
			
		||||
 | 
			
		||||
    <%= label(f, :password, gettext("Password"), class: "title text-lg text-primary-600") %>
 | 
			
		||||
    <%= password_input(f, :password, required: true, class: "input input-primary col-span-2") %>
 | 
			
		||||
    <%= password_input(f, :password,
 | 
			
		||||
      autocomplete: "current-password",
 | 
			
		||||
      class: "input input-primary col-span-2",
 | 
			
		||||
      required: true
 | 
			
		||||
    ) %>
 | 
			
		||||
 | 
			
		||||
    <%= label(f, :remember_me, gettext("Keep me logged in for 60 days"),
 | 
			
		||||
      class: "title text-lg text-primary-600"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user