Sha256: 05a6a162a59dbb1e4147f55d61a1e5fd7919baa96f9c2f80ce09adbdbd98869b

Contents?: true

Size: 719 Bytes

Versions: 1

Compression:

Stored size: 719 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Dummy</title>
  <%= stylesheet_link_tag :all %>
  <%= javascript_include_tag :defaults %>
  <%= csrf_meta_tag %>
</head>
<body>

  <div id='topnav'>
    <% if defined?(current_user) && current_user %>
      You are signed in as <%= current_user.name %>.
      <%= link_to 'Sign out', sign_out_path %>

    <% elsif defined?(current_person) && current_person %>
      You are signed in as <%= current_person.name %>.
      <%= link_to 'Sign out', sign_out_path %>

    <% else %>
      <%= link_to 'Sign in', sign_in_path %>

    <% end %>
  </div>

  <% flash.each do |key, value| %>
    <div class='flash <%= key %>'><%= value %></div>
  <% end %>

<%= yield %>

</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quo_vadis-1.1.0 test/dummy/app/views/layouts/application.html.erb