Sha256: f10aa2a592259c8f8a115c0accf77aae898b3adbb59f801ea8df9ebb0e4d4538

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 Bytes

Contents

<div class="cards">
  <% @advances.each do |advance| %>
    <div class="card">
      <div class="card-content">
        <div class="header"><%= advance.amount %></div>
        <div class="description">价格:¥<%= advance.price %></div>
      </div>
      <div class="card-footer">
        <%= button_to({ controller: 'trade/my/carts', action: 'add', good_id: advance.id, good_type: advance.class_name }, method: 'post', class: 'button', form: { class: 'card-footer-item' }) do %>
          <i class="fas fa-shopping-cart"></i><span><%= advance.price %></span>
        <% end %>
      </div>
    </div>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_trade-0.0.3 app/views/trade/advances/index.html.erb