Sha256: f61664f6fa067402bd3963485971e32bf5c8652f036574cc5e23f49c1c37a92e

Contents?: true

Size: 1.3 KB

Versions: 4

Compression:

Stored size: 1.3 KB

Contents

<% properties.each_with_index do |property, index| %>
  <div class="col-md-4">
    <article class="aa-properties-item">
      <%= link_to property.contextual_show_path(rent_or_sale), class: 
          "aa-properties-item-img" do %>
        <%= image_tag("#{property.ordered_photo_url 1}", class: 'img-responsive') %>
      <% end %>
      <div class="aa-tag for-sale">
        <%= t title_key %>
      </div>
      <div class="aa-properties-item-content">
        <div class="aa-properties-info">
          <span>
            <%= property.count_bedrooms %> Bedrooms
              </span>
          <span>
            <%= property.count_bathrooms %> Baths
              </span>
          <span>
            <%= property.constructed_area %><%= area_unit property %>

          </span>
        </div>
        <div class="aa-properties-about">
          <h3>
            <%= link_to property.title, property.contextual_show_path(rent_or_sale)  %>
          </h3>
          <p></p>
        </div>
        <div class="aa-properties-detial">
          <span class="aa-price">
            <%= property.contextual_price_with_currency rent_or_sale  %>
          </span>
          <%= link_to "View Details", property.contextual_show_path(rent_or_sale),  class: "aa-secondary-btn"  %>
        </div>
      </div>
    </article>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pwb-1.0.0 app/themes/berlin/views/pwb/welcome/_latest_properties.html.erb
pwb-0.1.1 app/themes/berlin/views/pwb/welcome/_latest_properties.html.erb
pwb-0.1.0 app/themes/berlin/views/pwb/welcome/_latest_properties.html.erb
pwb-0.0.2 app/themes/berlin/views/pwb/welcome/_latest_properties.html.erb