Sha256: 7fe661c8a0d2014bbb86852e0997d8c4240ebda370d65a703b0c7b48cfccfbbc
Contents?: true
Size: 1.55 KB
Versions: 3
Compression:
Stored size: 1.55 KB
Contents
<!DOCTYPE html> <html> <head> <title><%= camelized %></title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <%%= stylesheet_link_tag 'application', media: 'all' %> <%%= csrf_meta_tags %> </head> <body> <%- if options.devise? -%> <% if options.foundation? %> <nav class="top-bar"> <h1><a href="/"><%= camelized %></a></h1> <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' %> <% if options[:react] %> <%%- if Rails.env.development? || Rails.env.test? -%> <%%= javascript_tag do %> window.railsEnv = '<%%= Rails.env %>' <%%- end -%> <%%- end -%> <%%= javascript_pack_tag 'application' %> <% end %> <%%= yield :extra_footer %> </body> </html>
Version data entries
3 entries across 3 versions & 1 rubygems