Allow trace descriptions and tags to be edited.

This commit is contained in:
Tom Hughes 2007-09-23 17:05:31 +00:00
parent 56500280d4
commit 868ce8d467
4 changed files with 65 additions and 0 deletions

View file

@ -50,6 +50,9 @@
<td><%= button_to 'Make this track public permanently', :controller => 'trace', :action => 'make_public', :id => @trace.id %></td>
<% end %>
<% if @trace.user.id == @user.id %>
<td><%= button_to 'Edit this track', :controller => 'trace', :action => 'edit', :id => @trace.id %></td>
<% end %>
<% if @trace.user.id == @user.id %>
<td><%= button_to 'Delete this track', :controller => 'trace', :action => 'delete', :id => @trace.id %></td>
<% end %>
</tr>