Float the edit link

This commit is contained in:
Tyler Renelle 2012-02-04 12:29:23 -05:00
parent 69463c3884
commit 086e4bbef2
3 changed files with 5 additions and 3 deletions

View file

@ -40,4 +40,6 @@
text-decoration:none;
}
.up, .down { font-weight: bold; }
.up, .down { font-weight: bold; }
.edit { float:right; }

View file

@ -12,5 +12,5 @@
<%= habit.name %>
<% end %>
<% end %>
<%= link_to 'Edit', edit_habit_path(habit) %>
<%= link_to 'Edit', edit_habit_path(habit), :class=>'edit' %>
</li>

View file

@ -11,7 +11,7 @@
<body>
<div id="container">
<div id="header">
<!-- <h1><a href="/">Web App</a></h1> -->
<!-- <h1><a href="/">Web App</a></h1> -->
<h1><%= yield :score %></h1>
<div id="user-navigation">
<ul class="wat-cf">