Sha256: a8e69e2014d3b81818afbafc210117b5e5ce9a714f4828202c930866276c8faa

Contents?: true

Size: 1.56 KB

Versions: 2

Compression:

Stored size: 1.56 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title><%= h(yield(:title) || "Lorem Ipsum") %></title>
      <%= stylesheet_link_tag 'screen', 'custom', :media => "screen, projection" %>
      <%= stylesheet_link_tag 'print', :media => "print" %>
      <%= javascript_include_tag :defaults %>
     	<!--[if lt IE 8]>
			  <%= stylesheet_link_tag 'ie', :media => "screen, projection" %>
		  <![endif]-->
    <%= yield(:head) %>
  </head>
  <body>
    
  	<div class="container">
  	  <div id="header" class="span-24" >	
  	  	  <h1>Your Site</h1>
      </div><!-- End of header div -->
  	  	
      <div id="navbar" class="span-24">
  			<ul>
  				<li>		
					  <%= link_to "Home", home_path %>
				  </li>	
				  <li>		
					  <%= link_to "About", about_path %>
				  </li>
				  <li>		
					  <%= link_to "Gallery", about_path %>
				  </li>
				  <li>		
					  <%= link_to "Blog", about_path %>
				  </li>
				  <li>
					  <%= link_to "Contact", about_path %>
				  </li>
			  </ul>
      </div><!-- End of navbar div -->

			<%- if show_title? -%>
				<h1><%=h yield(:title) %></h1>
			<%- end -%> 
      
      <%- flash.each do |name, msg| -%>
        <%= content_tag :div, msg, :id => "flash_#{name}" %>
      <%- end -%>
      
      <%= yield %>
      <div class="span-24" id="footer">
      	<h1>This is the footer section of the website.</h1>
      </div><!-- End of footer div -->
  	</div><!-- End of container div -->
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
turbo-generators-0.0.1 rails_generators/turbo_layout/templates/application.html.erb
turbo-generators-0.0.0 rails_generators/turbo_layout/templates/application.html.erb