Skip to content

Commit

Permalink
Added auto link for urls in task.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrittTheIsh committed Jun 13, 2011
1 parent 06bf98a commit 7374761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/tasks/index.html.erb
Expand Up @@ -45,7 +45,7 @@
<li>
<%= f.input :done , :input_html => { :class => 'box' } , :label => false %>
<%= f.button :submit , :class => 'hidden' %>
<%= task.name %>
<%= auto_link task.name %>
<p class="delete-task">
<%= link_to 'X', task, :confirm => 'Are you sure?', :method => :delete %>
</p>
Expand All @@ -61,7 +61,7 @@
<ul class="tasks finished-tasks">
<% list.done_tasks.each do |task| %>
<li class="finished">
<%= task.name %>
<%= auto_link task.name %>
<p class="delete-task">
<%= link_to 'X', task, :confirm => 'Are you sure?', :method => :delete %>
</p>
Expand Down

0 comments on commit 7374761

Please sign in to comment.