Sha256: 979246cc552aa60d042623d43c64dd97a04473a03ff2ee94a6b9f422fa09e2bd
Contents?: true
Size: 596 Bytes
Versions: 5
Compression:
Stored size: 596 Bytes
Contents
<!DOCTYPE html> <html> <head> <title>Dummy</title> <%= csrf_meta_tag %> </head> <body> <div id='topnav'> <% if authenticated? %> You are signed in as <% if defined?(current_user) %> <%= current_user.name %>. <% elsif defined?(current_person) %> <%= current_person.name %>. <% end %> <%= 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
5 entries across 5 versions & 1 rubygems