]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/accounts/edit.html.erb
Merge pull request #4218 from AntonKhorev/no-user-id-renames
[rails.git] / app / views / accounts / edit.html.erb
index 7aad944d364d9b79fbbe1cfc5dc804ea0fb79d28..e783367dd1b9600812e670e12c752aef3cba5a59 100644 (file)
@@ -65,8 +65,5 @@
 <% end %>
 
 <% unless current_user.data_public? %>
-<a name="public"></a>
-<h2><%= t ".public editing note.heading" %></h2>
-<%= t ".public editing note.html" %>
-<%= button_to t(".make edits public button"), user_go_public_path, :class => "btn btn-primary" %>
+  <%= render :partial => "go_public" %>
 <% end %>