]> git.openstreetmap.org Git - rails.git/blob - app/views/accounts/pd_declarations/show.html.erb
Merge remote-tracking branch 'upstream/pull/5725'
[rails.git] / app / views / accounts / pd_declarations / show.html.erb
1 <% content_for :heading do %>
2   <h1><%= t ".title" %></h1>
3 <% end %>
4
5 <%= bootstrap_form_tag do |f| %>
6   <%= f.form_group :help => link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) do %>
7     <%= f.check_box :consider_pd,
8                     :label => t(".consider_pd"),
9                     :autocomplete => :off,
10                     :checked => current_user.consider_pd,
11                     :disabled => current_user.consider_pd %>
12   <% end %>
13   <%= f.primary t(".confirm"), :disabled => current_user.consider_pd %>
14 <% end %>