<% phc_title "Property Listings" %> <% phc_title_tagline "Property Listings Index" %> <% phc_breadcrumb_one link_to "Property" %> <% phc_breadcrumb_two link_to "Listings" %> <% phc_breadcrumb_three yield(:phc_title_tagline) %>

<%= yield(:phc_title) %>

<% @property_listings.each do |property_listing| %> <% end %>
Listing Title Listing Price Year Built Listing Type Listing Status
<%= property_listing.property_listing_title %> <%= property_listing.property_listing_price %> <%= property_listing.property_listing_year_built %> <%= property_listing.property_listing_type %> <%= property_listing.property_listing_status %>
<%= link_to "Listing Details", property_listing, class: "btn btn-primary btn-xs" %> <%= link_to "Update Listing", edit_property_listing_path(property_listing), class: "btn btn-primary btn-xs" %> <%= link_to "Remove Listing", property_listing, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure?" } %>
<%= link_to phcdevworks_real_estate.new_property_listing_path, class: "btn btn-primary" do %> <%= "Add a New Listing" %> <% end %>