Skip to content

Commit

Permalink
fix the back bottom on the new timelog page
Browse files Browse the repository at this point in the history
  • Loading branch information
gugod committed Apr 24, 2010
1 parent f8a03d2 commit baa0c7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/iphone/timelog/new.html.erb
@@ -1,7 +1,11 @@
<div id="timelog-details" class="current">
<div class="toolbar">
<h1>New Time Log | <%=h @project.name %></h1>
<a href="/iphone/projects/show/<%= @time_entry.project %>" class="back">Back</a>
<% if @project %>
<%= link_to "Back", { :controller => "projects", :action => "show", :id => @project }, :class => "back" %>
<% else %>
<%= link_to "Back", "/iphone", :class => "back" %>
<% end %>
</div>
<% form_for :time_entry, @time_entry, :url => {:action => 'create', :id => @time_entry, :project_id => @time_entry.project} do |f| %>
<ul class="edgetoedge">
Expand Down

0 comments on commit baa0c7f

Please sign in to comment.