moaaar code

This commit is contained in:
Ken Johnson
2013-04-24 19:06:51 -04:00
parent 5a992c3c1f
commit 9c4a19d3d1
5 changed files with 216 additions and 3 deletions
@@ -0,0 +1,19 @@
<!-- Want to use this template whether auth'd or not so I've got some code to determine how to render below -->
<header>
<% if not current_user %>
<ul class="mini-nav">
<li>
<%= button_to "signup", "#", {:class => "btn btn-primary", :method => "get"} %>
</li>
</ul>
<ul class="mini-nav">
<li>
<%= button_to "login", login_path, {:class => "btn", :method => "get"} %>
</li>
</ul>
<% else %>
<% end %>
</header>