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

13 lines
383 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, :method => 'delete' %></span>
2011-03-27 22:56:15 +02:00
<% 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>