X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/62b70f45bc2566d3ca3c0d79c72da7d46d5f49a4..0f51052e86db1e2d219633dd2c7260588257404d:/app/views/accounts/pd_declarations/show.html.erb diff --git a/app/views/accounts/pd_declarations/show.html.erb b/app/views/accounts/pd_declarations/show.html.erb index ea8804640..ad314feaa 100644 --- a/app/views/accounts/pd_declarations/show.html.erb +++ b/app/views/accounts/pd_declarations/show.html.erb @@ -1,3 +1,14 @@ <% content_for :heading do %>

<%= t ".title" %>

<% end %> + +<%= bootstrap_form_tag do |f| %> + <%= f.form_group :help => link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) do %> + <%= f.check_box :consider_pd, + :label => t(".consider_pd"), + :autocomplete => :off, + :checked => current_user.consider_pd, + :disabled => current_user.consider_pd %> + <% end %> + <%= f.primary t(".confirm"), :disabled => current_user.consider_pd %> +<% end %>