View raw

1 <%= tag.div(flash[:alert], style: "color:red") if flash[:alert] %> 2 <%= tag.div(flash[:notice], style: "color:green") if flash[:notice] %> 3 4 <%= form_with url: session_path do |form| %> 5 <%= form.email_field :email_address, 6 required: true, 7 autofocus: true, 8 autocomplete: "username", 9 placeholder: "Enter your email address", 10 value: params[:email_address] %><br> 11 <%= form.password_field :password, 12 required: true, 13 autocomplete: "current-password", 14 placeholder: "Enter your password", 15 maxlength: 72 %><br> 16 <%= form.submit "Sign in" %> 17 <% end %> 18 <br> 19 20 <%= link_to "Forgot password?", new_password_path %> 21