Allow trace descriptions and tags to be edited.
This commit is contained in:
parent
56500280d4
commit
868ce8d467
4 changed files with 65 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue