<div class="header">
	<h1><a href="/">Header</a></h1>

	<% if session[:current_user] %>
		<a href="/logout" class="btn-login">Log Out</a>
	<% else %>
		<a href="/login" class="btn-login">Log In</a>
	<% end %>

</div>

<div class="login">
	<form name="login-form" action="/login" method="post">
		<input type="email" name="email" placeholder="Email">
		<input type="password" name="password_digest" placeholder="Password">
		<input type="submit" value="Submit">
	</form>

</div>
<div class="header">
	<h1><a href="/">Header</a></h1>

	<% if session[:current_user] %>
		<a href="/logout" class="btn-login">Log Out</a>
	<% else %>
		<a href="/login" class="btn-login">Log In</a>
	<% end %>

</div>

<div class="login">
	<%= erb :"partials/_login" %>
</div>
Move login form to partial
Move login form to partial
