anchor.diff:    <% elsif state(@plan) == :committed%>
   		<%= link_to "Done", "#", disbaled: true,
   								class: "btn btn-green pull-right confirm_visibility_link", 
  -								'data-planid': @plan.id, 'data-visibility': @plan.visibility %>
  +								'data-planid' => @plan.id, 'data-visibility' => @plan.visibility %>
     <% elsif state(@plan) == :approved %>
   		<%= link_to "Done", "#", method: :post,
   								class: "btn btn-green pull-right confirm_visibility_link", 
  -								'data-planid': @plan.id, 'data-visibility': @plan.visibility %>
  +								'data-planid' => @plan.id, 'data-visibility' => @plan.visibility %>
     <% end %>
   
   <% elsif @customization_review == "informal" %>
  
positive.code: 		<%= content_tag(:span, '', :title => '<p>Request feedback on your Plan from an administrator at your institution.</p>', 'data-toggle' => 'tooltip', 'data-placement' => 'right', 'data-html' => 'true', :class => 'icon questionmark tip pull-right') %>
  		<%= link_to "Done", "#", method: :post,
  								class: "btn btn-green pull-right confirm_visibility_link", 
  								'data-planid': @plan.id, 'data-visibility': @plan.visibility %>
  		<%= content_tag(:span, '', :title => '<p>Complete your Plan.</p>', 'data-toggle' => 'tooltip', 'data-placement' => 'right', 'data-html' => 'true', :class => 'icon questionmark tip pull-right') %>
    <% elsif state(@plan) == :committed %>
  		<%= link_to "Done", "#", disabled: true,
  								class: "btn btn-green pull-right confirm_visibility_link", 
  								'data-planid': @plan.id, 'data-visibility': @plan.visibility %>
    <% elsif state(@plan) == :reviewed %>
  		<%= link_to "Done", "#", method: :post,
  								class: "btn btn-green pull-right confirm_visibility_link", 
  								'data-planid': @plan.id, 'data-visibility': @plan.visibility %>
    <% end %>
  
  <% elsif @customization_review == "no" %>
    <% if state(@plan) == :committed %>
  		<%= link_to "Done", "#", disabled: true,
  								class: "btn btn-green pull-right confirm_visibility_link", 
  								'data-planid': @plan.id, 'data-visibility': @plan.visibility %>
    <% else %>
  		<%= link_to "Done", "#", method: :post,
  								class: "btn btn-green pull-right confirm_visibility_link", 
  								'data-planid': @plan.id, 'data-visibility': @plan.visibility %>
    <% end %>
  
  <% elsif (@customization_review == nil && @template_review == "formal") %>
  
negative.code:   <% elsif state(@plan) == :committed%>
  		<%= link_to "Done", "#", disabled: true,
  								class: "btn btn-green pull-right confirm_visibility_link", 
  								'data-planid' => @plan.id, 'data-visibility' => @plan.visibility %>
    <% elsif state(@plan) == :approved %>
  		<%= link_to "Done", "#", method: :post,
  								class: "btn btn-green pull-right confirm_visibility_link", 
  								'data-planid' => @plan.id, 'data-visibility' => @plan.visibility %>
    <% end %>
  
  <% elsif (@customization_review == nil && @template_review == "informal") %>
  