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

14 lines
372 B
Text
Raw Normal View History

2014-04-06 14:14:03 +00:00
<header>
<div class="banner <%= 'authenticated' if cuser %>">
2014-04-18 00:07:07 +00:00
<div class="wrapper">
<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>