Listing campaigns

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

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