Sha256: 6f23ac0112dd15a18256f352f09edaffc016b9a4ac503ba88deefc349aeb616b

Contents?: true

Size: 481 Bytes

Versions: 1

Compression:

Stored size: 481 Bytes

Contents

<%= render 'error_messages', target: f.object %>
<%= f.select :cart_id, options_for_select([], @promote_cart.cart_id), include_blank: true %>
<% if params[:promote_good_id] %>
  <%= f.hidden_field :promote_good_id, value: params[:promote_good_id] %>
<% else %>
  <%= f.select :promote_good_id, options_for_select([[@promote_cart.promote&.name, @promote_cart.promote_id]], @promote_cart.promote_id) %>
<% end %>
<%= f.datetime_field :effect_at %>
<%= f.datetime_field :expire_at %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_trade-0.0.3 app/views/trade/admin/promote_carts/_form.html.erb