% content_for :head do %>
  <%= javascript_include_tag "user" %>
<% end %>
<% content_for :heading do %>
  
    
      <%= f.primary t(".save changes button") %>
    
    
      <%= link_to t(".delete_account"), account_deletion_path, :class => "btn btn-outline-danger" %>
    
   
<% end %>
  
    <%= t ".contributor_terms.heading" %>
    
      <% if current_user.terms_agreed? %>
        <%= t ".contributor_terms.agreed", :date => l(@current_user.terms_agreed.to_date, :format => :long) %>
      <% else %>
        <%= t ".contributor_terms.not_agreed" %>
      <% end %>
      
      <% if current_user.consider_pd? %>
        <%= t ".contributor_terms.agreed_with_pd" %>
      <% else %>
        <%= t ".contributor_terms.not_agreed_with_pd" %>
      <% end %>
      
      <%= link_to current_user.terms_agreed? ? t(".contributor_terms.review") : t(".contributor_terms.review_and_accept"), account_terms_path %>
      <% unless current_user.consider_pd? %>
        ·
        <%= link_to t(".contributor_terms.consider_pd"), account_pd_declaration_path %>
      <% end %>
    
  
  
    <%= t ".terms_of_use.heading" %>
    
      <% if current_user.tou_agreed? %>
        <%= t ".terms_of_use.agreed", :date => l(@current_user.tou_agreed.to_date, :format => :long) %>
      <% else %>
        <%= t ".terms_of_use.not_agreed" %>
      <% end %>
      
      <%= link_to current_user.tou_agreed? ? t(".terms_of_use.review") : t(".terms_of_use.review_and_accept"), account_terms_path %>
    
  
 
<% unless current_user.data_public? %>
  <%= render :partial => "go_public" %>
<% end %>