% if current_user %>
Font Size:
A
A
-
Welcome, <%= current_user.first_name.html_safe %>
-
<%= button_to "Visit Tutorial", nil,
{
:class => "btn",
:method => "get",
:onclick => "window.open('https://github.com/OWASP/railsgoat/wiki', '_blank')"
} %>
<% else %>
-
<%= button_to "Signup", signup_path, {:class => "btn btn-primary", :method => "get"} %>
-
<%= button_to "login", login_path, {:class => "btn", :method => "get"} %>
-
<%= button_to "Tutorial Credentials", "#myModalLabel1", {:id => "show_creds_btn", :class => "btn btn-danger", :method => "get"} %>
-
<%= button_to "Visit Tutorial", nil,
{
:class => "btn",
:method => "get",
:onclick => "window.open('https://github.com/OWASP/railsgoat/wiki', '_blank')"
} %>
<% end %>