<div class="row">
  <div class="col-md-12">
    <div class="card">
      <div class="card-header">Update Quantity</div>
      <div class="card-body">
        <div class="col-md-12">
          <h3><%= @order_item[0].item_name + " - [" + @order_item[0].qty.to_s + "]" %></h3>
          <div class="form-group">
            <label class="col-md-1">Quantity: </label>
            <input type="text" name="qty_weight" class="text-right" value="<%= @order_item[0].qty %>" />
          </div>
          <div class="form-group">
            <label class="col-md-1">Remark: </label>
            <textarea rows="2" cols="22" name="remarks"></textarea>
          </div>
          <div class="form-group">
            <a href="<%= oqs_root_path %>" class="btn btn-primary">
              <i class="fa fa-arrow-left"></i> Back
            </a>
            <button id="qty-update" class="btn btn-info" data-id="<%= @order_item[0].order_items_id %>">Update</button>
          </div>
        </div>
      </div>      
    </div>
  </div>
</div>

