X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bc49dab4a82739afdc0554ef6b23c733460cccde..ce37f1ab6585ace95c43c2bd5b40e362cc985788:/app/views/trace/view.rhtml?ds=sidebyside
diff --git a/app/views/trace/view.rhtml b/app/views/trace/view.rhtml
index 63b1b7e00..8defc69ee 100644
--- a/app/views/trace/view.rhtml
+++ b/app/views/trace/view.rhtml
@@ -17,3 +17,10 @@
<% end %>
+
+<% unless @trace.public? %>
+
+ <%= start_form_tag :controller => 'trace', :action => 'make_public', :id => @trace.id%>
+ <%= submit_tag 'Make this track public permanently' %>
+ <%= end_form_tag %>
+<% end %>