OSDN Git Service

ポイントの入力欄が横に長すぎて改行してしまう問題を修正
authorTaro Matsuzawa <tmatsuzawa@kbmj.com>
Tue, 7 Sep 2010 05:46:10 +0000 (14:46 +0900)
committerTaro Matsuzawa <tmatsuzawa@kbmj.com>
Tue, 7 Sep 2010 05:46:10 +0000 (14:46 +0900)
app/views/cart/_set_point_each_retailer.html.erb

index ea1f09c..7caab77 100644 (file)
@@ -24,7 +24,7 @@
         <td>
           <%= radio_button_tag "points[#{retailer_id}][point_check]", 'true' %>
           <label for="points[<%=h retailer_id %>][point_check]_true">ポイントを使用する</label>
-          <%= text_field_tag "order_deliveries[#{retailer_id}][use_point]" %>ポイント
+          <%= text_field_tag "order_deliveries[#{retailer_id}][use_point]", nil, {:size => 5} %>ポイント
         </td>
         <td colspan="2">
           <%= radio_button_tag "points[#{retailer_id}][point_check]", 'false' %>