<h1>Welcome Player 2! Login here...</h1>

<%= form_for :player, url: players_path do |f| %>
	<p>
		<%= f.label :Email %><br>
		<%= f.text_field :email %>
	</p>

	<p>
		<%= f.label :Password %><br>
		<%= f.password_field :password %>
	</p>

	<p>
		<%= f.submit 'Login' %>
	</p>
<% end %>
<h1>Welcome Player 2! Login here...</h1>

<%= form_for :player, url: players_path do |f| %>
	<% if @errors %>
		<ul>
			<% @errors.each do |error| %>
				<li>
					<%= error %>
				</li>
				<% end %>
		</ul>
	<% end %>

	<p>
		<%= f.label :Email %><br>
		<%= f.text_field :email %>
	</p>

	<p>
		<%= f.label :Password %><br>
		<%= f.password_field :password %>
	</p>

	<p>
		<%= f.submit 'Login' %>
	</p>
<% end %>
Add error handling to login page
Add error handling to login page
