ensl.org/app/views/application/_header.html.erb

17 lines
431 B
Text
Raw Normal View History

2014-04-06 14:14:03 +00:00
<header>
2014-04-18 00:07:07 +00:00
<div class="banner">
<div class="wrapper">
<div id="logo">
<%= link_to image_tag("logo.png"), root_path %>
</div>
<div id="authentication" class="<%= 'admin' if cuser && cuser.admin? %>">
2014-04-18 00:07:07 +00:00
<% if cuser %>
<%= render partial: "widgets/logged" %>
<% else %>
<%= render partial: "widgets/login" %>
<% end %>
</div>
2014-04-06 14:14:03 +00:00
</div>
</div>
</header>