|
|
@@ -1,18 +1,18 @@ |
|
|
|
<header> |
|
|
|
<%= link_to(root_url, id: 'home-link') do %> |
|
|
|
<%= corp_logo_tag %> |
|
|
|
<span id="corp-name"> |
|
|
|
<%= AdminSetting.get(:corp_name) %> |
|
|
|
</span> |
|
|
|
<% end %> |
|
|
|
<span id="user-links"> |
|
|
|
<%= link_to 'Signup', controller: 'users', action: 'signup' %> |
|
|
|
• |
|
|
|
<%= link_to 'Login', controller: 'users', action: 'login' %> |
|
|
|
• |
|
|
|
<%= link_to 'Admin', controller: 'admin', action: 'index' %> |
|
|
|
</span> |
|
|
|
<div id="corp-banner"> |
|
|
|
<%= link_to(root_url) do %> |
|
|
|
<%= corp_logo_tag %> |
|
|
|
<span><%= AdminSetting.get(:corp_name) %></span> |
|
|
|
<% end %> |
|
|
|
</div> |
|
|
|
<nav> |
|
|
|
<ul> |
|
|
|
<li><%= link_to 'Signup', controller: 'users', action: 'signup' %></li> |
|
|
|
<li><%= link_to 'Login', controller: 'users', action: 'login' %></li> |
|
|
|
<li><%= link_to 'Admin', controller: 'admin', action: 'index' %></li> |
|
|
|
</ul> |
|
|
|
</nav> |
|
|
|
</header> |
|
|
|
<% flash.each do |name, msg| %> |
|
|
|
<div class="flash">FLASH: <%= name %>: <%= msg %></div> |
|
|
|
<div class="flash"><%= name %>: <%= msg %></div> |
|
|
|
<% end %> |