<h3><%= link_to petition.action, petition_path(petition) %></h3>
<p><%= signature_count(:default, petition.signature_count) %></p>

<h3><%= link_to petition.action, petition_path(petition) %></h3>
<% case petition.state %>
<% when "open" %>
  <p><%= signature_count(:default, petition.signature_count) %></p>
<% when "closed" %>
  <p><%= signature_count(:default, petition.signature_count) %>, now closed</p>
<% when "rejected" %>
  <p>Rejected</p>
<% end %>

Handle petition states on 'All petitions' list
Handle petition states on 'All petitions' list
