<%= stylesheet_link_tag "application", media: "all" %> <%= javascript_pack_tag "application" %> <%= csrf_meta_tags %>
<%= content_for :title %>
<% if @current_user %> Signed in as: <%= @current_user.name %> | <%= link_to 'Sign out', session_path, method: :delete %> <% else %> <%= link_to 'Sign in with GitHub', '/auth/github' %> <% end %>
<% flash.each do |name, msg| %> <%= content_tag :div, msg, class: "alert alert-info" %> <% end %> <%= yield %>