X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2080696fe689c08faa238a73cda4366f71750423..5016defff0e6c5220c4b58ffabcf7113473b5e5f:/app/views/accounts/edit.html.erb?ds=inline diff --git a/app/views/accounts/edit.html.erb b/app/views/accounts/edit.html.erb index cd53d294d..e783367dd 100644 --- a/app/views/accounts/edit.html.erb +++ b/app/views/accounts/edit.html.erb @@ -16,8 +16,8 @@ <%= f.password_field :pass_crypt, :value => "", :autocomplete => "new-password" %> <%= f.password_field :pass_crypt_confirmation, :value => "", :autocomplete => "new-password" %> -
- +
+
<%= f.select(:auth_provider, Auth.providers, :hide_label => true, :wrapper => { :class => "col-auto mb-0" }) %> <%= f.text_field(:auth_uid, :hide_label => true, :wrapper => { :class => "col mb-0" }) %> @@ -25,8 +25,8 @@ (" target="_new"><%= t ".openid.link text" %>)
-
- +
+ <% if current_user.data_public? %> <%= t ".public editing.enabled" %> @@ -38,8 +38,8 @@
-
- +
+ <% if current_user.terms_agreed? %> <%= t ".contributor terms.agreed" %> @@ -65,8 +65,5 @@ <% end %> <% unless current_user.data_public? %> - -

<%= t ".public editing note.heading" %>

-<%= 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 %>