Sha256: ca0a72409d39e4cb3a81fb0a820f21943231ab0ac21be5e86137e23fcb8b281b
Contents?: true
Size: 1.41 KB
Versions: 2
Compression:
Stored size: 1.41 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' %> <%%= javascript_tag do %> $(function(){ $(document).foundation(); }); <%% end %> <%%= yield :extra_footer %> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
make_it_so-0.0.3 | templates/rails/app/views/layouts/application.html.erb.tt |
make_it_so-0.0.2 | templates/rails/app/views/layouts/application.html.erb.tt |