Sha256: d6b8d1ff27281312d88914a50a7d2b640d6efafef39eb6471d73fc788e0d9c9b

Contents?: true

Size: 695 Bytes

Versions: 3

Compression:

Stored size: 695 Bytes

Contents

<div class="navigate">
	<ul>
		<li class="first">
			<%= link_to 'Home', root_path, :class => if_action('PreviewController', 'index') ? 'active' : ''%>
		</li>
		<li>
			<%= link_to 'Pipelines', re_pipelines_path %>
		</li>
		<li>
			<%= link_to 'Projects', root_path %>
		</li>
		<li>
			<%= link_to "About Us", root_path %>
		</li>
		<li>
			<%= link_to 'Contact Us', root_path %>
		</li>
		<li class="last">	
			<% if logged_in? %>			
				<%= link_to 'Control Panel', root_path, :class => !if_action('PreviewController') ? 'active' : ''%> %>
			<% else %>
				<%= link_to 'Login', user_login_path, :class => if_action('UsersController') ? 'active' : ''%> %>
			<% end %>
		</li>
	</ul>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dougo_layout-0.0.3 rails_generators/templates/app/views/layouts/_navigate.html.erb
dougo_layout-0.0.2 rails_generators/templates/app/views/layouts/_navigate.html.erb
dougo_layout-0.0.1 rails_generators/templates/app/views/layouts/_navigate.html.erb