UI and naming changes

This commit is contained in:
Karol Selak 2021-03-21 11:40:53 +01:00
parent a5e7fef642
commit dace874f4f
12 changed files with 22 additions and 18 deletions

View file

@ -1,9 +1,8 @@
<h1>Welcome</h1>
<h3>Welcome</h3>
<% if logged_in? %>
<h1>You are Logged In, <%= current_user.email %></h1>
You are Logged In, <%= current_user.email %>
<%= button_to "Logout", '/logout', method: :get%>
<%else%>
<%= button_to "Login", '/login', method: :get%>
<%= button_to "Sign Up", '/users/new', method: :get%>
<%= button_to "Password recovery", '/password_recovery_request', method: :get%>
<%end%>