Listing campaigns

<% @campaigns.each do |campaign| %> <% end %>
Client ID Listing Code Address City State ZIP Processed?
<%= link_to campaign.clientid, campaign_path(campaign.clientid) %> <%= campaign.listingcode %> <%= campaign.address1 %> <%= campaign.city %> <%= campaign.state %> <%= campaign.zip %> <%= campaign.processed? %> <%= link_to 'Edit', edit_campaign_path(campaign.clientid) %> <%= link_to 'Destroy', campaign_path(campaign.clientid), method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Campaign', new_campaign_path %>