Sha256: d8e8e1f48e864fb4936ded1e968459773154eea06dc9380475e6634cbb4d8c5c
Contents?: true
Size: 1.32 KB
Versions: 4
Compression:
Stored size: 1.32 KB
Contents
<!DOCTYPE html> <html> <head> <title><%= camelized %></title> <%%= stylesheet_link_tag 'application', media: 'all' %> <%%= csrf_meta_tags %> </head> <body> <%- if options.devise? -%> <% if options.foundation? %> <nav class="top-bar"> <ul class="title-area"> <li class="name"> <h1><a href="/"><%= camelized %></a></h1> </li> </ul> <section class="top-bar-section"> <ul class="right"> <%%- if current_user -%> <li><%%= link_to 'Sign Out', destroy_user_session_path, method: :delete %></li> <%%- else -%> <li><%%= link_to 'Sign Up', new_user_registration_path %></li> <li><%%= link_to 'Sign In', new_user_session_path %></li> <%%- end -%> </ul> </section> </nav> <%- else -%> <ul> <%%- if current_user -%> <li><%%= link_to 'Sign Out', user_session_path(:me), method: :delete %></li> <%%- else -%> <li><%%= link_to 'Sign Up', new_registration_path %></li> <li><%%= link_to 'Sign In', new_user_session_path %></li> <%%- end -%> </ul> <%- end -%> <%- end -%> <%%- flash.each do |key, value| -%> <div class="flash flash-<%%= key %>"> <%%= value %> </div> <%%- end -%> <%%= yield %> <%%= javascript_include_tag 'application' %> <%%= yield :extra_footer %> </body> </html>
Version data entries
4 entries across 4 versions & 1 rubygems