]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/accounts/edit.html.erb
Merge remote-tracking branch 'upstream/pull/4581'
[rails.git] / app / views / accounts / edit.html.erb
index 2fae4640a531eba4fb716a16d8c20fcf0fc3b9d4..e783367dd1b9600812e670e12c752aef3cba5a59 100644 (file)
 <% end %>
 
 <% unless current_user.data_public? %>
 <% end %>
 
 <% unless current_user.data_public? %>
-  <hr class="mb-3" />
-  <a name="public"></a>
-  <h2><%= t ".public editing note.heading" %></h2>
-  <p>
-    <%= t ".public editing note.currently_not_public" %>
-    <strong><%= t ".public editing note.only_public_can_edit" %></strong>
-    <%= t ".public editing note.find_out_why_html", :link => link_to(t(".public editing note.find_out_why"),
-                                                                     t(".public editing note.find_out_why_url")) %>
-  </p>
-  <ul>
-    <li><%= t ".public editing note.email_not_revealed" %></li>
-    <li><%= t ".public editing note.not_reversible" %></li>
-  </ul>
-  <%= button_to t(".make edits public button"), user_go_public_path, :class => "btn btn-primary" %>
+  <%= render :partial => "go_public" %>
 <% end %>
 <% end %>