回答編集履歴

1

誤字 discounted_price

2023/01/22 16:57

投稿

shinoharat
shinoharat

スコア1674

test CHANGED
@@ -45,10 +45,10 @@
45
45
  + <%= product_stores_form.text_field :regular_price, class: 'form-control' %>
46
46
  </div>
47
47
  <div class="form-group">
48
- - <%= f.label :regular_price %>
48
+ - <%= f.label :discounted_price %>
49
- - <%= f.text_field :regular_price, class: 'form-control' %>
49
+ - <%= f.text_field :discounted_price, class: 'form-control' %>
50
- + <%= product_stores_form.label :regular_price %>
50
+ + <%= product_stores_form.label :discounted_price %>
51
- + <%= product_stores_form.text_field :regular_price, class: 'form-control' %>
51
+ + <%= product_stores_form.text_field :discounted_price, class: 'form-control' %>
52
52
  </div>
53
53
  + <% end %>
54
54
  <%= f.submit 'submit', class: 'btn btn-primary' %>