thingspeak/app/views/layouts/_header.html.erb

13 lines
362 B
Plaintext
Raw Normal View History

2011-03-27 22:56:15 +02:00
<div id="options">
<% if current_user %>
<span class="action"> <%= link_to t(:signout), logout_path %></span>
<% else %>
<span class="action">
<%= link_to t(:signup), new_user_path %>
</span>
<span class="action"> <%= link_to t(:signin), login_path %></span>
<% end %>
</div>
<div id="logo"><%= link_to t(:application_name), root_path %></div>