uclibs / staff-directory-23

1 stars 0 forks source link

fixes #178 -invalid email display #181

Closed haitzlm closed 4 months ago

haitzlm commented 4 months ago

This fixes issue #178 -Invalid email is no longer displayed before login. Adjusted code below footer partial in application.html.erb .

changed <%= button_to 'Logout' to <%= link_to 'Logout' and styled links as buttons. This helps prevent evil javascript from trying to submit form before user actually logs in.