Sha256: ded9723235ce1209555e388b3145013733043682c87f3ca0125828844327faab
Contents?: true
Size: 1.71 KB
Versions: 1
Compression:
Stored size: 1.71 KB
Contents
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title><%= application_name %></title> <%%= stylesheet_link_tag "application", :media => "all" %> <% if bootswatch_theme? %> <link href="//netdna.bootstrapcdn.com/bootswatch/2.3.2/<%= theme_name %>/bootstrap.min.css" rel="stylesheet"> <% end %> <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet"> <%%= javascript_include_tag "application" %> <%%= csrf_meta_tags %> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="/"><%= application_name %></a> <div class="nav-collapse"> <ul class="nav"> <% if options[:navbar] %> <li><%%= link_to "Home", "/" %></li> <% app_tables.each do |table_name| -%> <li><%%= link_to "<%= table_name.humanize.titleize %>", "/<%= table_name %>" %></li> <% end -%> <li><a href="#about">About</a></li> <% end -%> </ul> </div> </div> </div> </div> <div class="container"> <%% flash.each do |name, msg| %> <div class="alert alert-<%%= name == :notice ? "success" : "error" %>"> <a class="close" data-dismiss="alert">×</a> <%%= msg %> </div> <%% end %> <%%= yield %> <hr> <footer> <p>© My Company 2013</p> </footer> </div> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
starter_generators-0.7.2 | lib/generators/starter/style/templates/layout.html.erb |