:checked => current_user.consider_pd,
:disabled => current_user.consider_pd %>
<% end %>
+ <%= f.primary t(".confirm"), :disabled => current_user.consider_pd %>
<% end %>
consider_pd: "I consider my contributions to be in the Public Domain"
consider_pd_why: "Why would I want my contributions to be Public Domain?"
consider_pd_why_url: https://osmfoundation.org/wiki/Licence_and_Legal_FAQ/Why_would_I_want_my_contributions_to_be_public_domain
+ confirm: Confirm
browse:
deleted_ago_by_html: "Deleted %{time_ago} by %{user}"
edited_ago_by_html: "Edited %{time_ago} by %{user}"
within_content_body do
assert_unchecked_field "I consider my contributions to be in the Public Domain"
+ assert_button "Confirm"
end
end
within_content_body do
assert_checked_field "I consider my contributions to be in the Public Domain", :disabled => true
+ assert_button "Confirm", :disabled => true
end
end
end