Sha256: 050c699b5cac5fdcccc91cf985ee43685ef04b04b2f791e88eb170c805fb5c41

Contents?: true

Size: 743 Bytes

Versions: 1

Compression:

Stored size: 743 Bytes

Contents

<div class="field is-horizontal" data-controller="field" data-field-index-value="<%= ef.index %>">
  <% if ef.index == 0 %>
    <%= ef.options[:parent_builder].label :advances %>
  <% else %>
    <label class="field-label"></label>
  <% end %>
  <div class="field-body">
    <%= ef.number_field :amount, label: nil, placeholder: Trade::Advance.human_attribute_name(:amount) %>
    <%= ef.number_field :price, label: nil, placeholder: Trade::Advance.human_attribute_name(:price) %>
    <div class="field has-addons has-addons-middle">
      <i class="fas fa-plus" style="cursor: pointer" data-action="click->field#add"></i>
      <i class="fas fa-minus" style="cursor: pointer" data-action="click->field#remove"></i>
    </div>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_trade-0.0.3 app/views/trade/admin/card_templates/_item_form.html.erb