]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/accounts/edit.html.erb
Merge remote-tracking branch 'upstream/pull/4564'
[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 %>