<%= if_user(@trace.user) do %>
<%= button_to t('trace.view.edit_track'), trace_edit_path(@trace) %>
<% end %>
- <%= button_to t('trace.view.delete_track'), :controller => 'trace', :action => 'delete', :id => @trace.id %>
+ <%= button_to t('trace.view.delete_track'), { :controller => 'trace', :action => 'delete', :id => @trace.id }, :data => { :confirm => t('trace.view.confirm_delete') } %>
</div>
<% end %>
delete_track: "Delete this trace"
trace_not_found: "Trace not found!"
visibility: "Visibility:"
+ confirm_delete: "Delete this trace?"
trace_paging_nav:
showing_page: "Page %{page}"
older: "Older Traces"