Sha256: adf1e525ca760c68995c6cb12df2b85014fd5365134234818bf91ca6443cabc1

Contents?: true

Size: 501 Bytes

Versions: 2

Compression:

Stored size: 501 Bytes

Contents

<!DOCTYPE html>
<html>
  <head>
    <title>Reflex</title>
  </head>
  <body>
    <nav>
      <% if current_user %>
        <%= link_to 'My Profile', current_user %> |
        <%= link_to 'Logout', logout_path %>
      <% else %>
        <%= link_to 'Login', login_path %> |
        <%= link_to 'Register', new_user_path %>
      <% end %>
    </nav>
    
    <% flash.each do |type, message| %>
      <p><%= type.to_s.upcase %>: <%= message %></p>
    <% end %>
    
    <%= yield %>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reflex-0.0.3 features/support/rails_root/app/views/layouts/application.html.erb
reflex-0.0.2 features/support/rails_root/app/views/layouts/application.html.erb