Skip to content

Commit

Permalink
Added the required attr to some fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbdavide committed Oct 12, 2017
1 parent 0616f1a commit e6389a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sales/templates/sales/create_sale.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h1>Ingreso</h1>
<label for="product-price">Precio: </label>
<div class="input-group">
<span class="input-group-addon">$</span>
<input type="text" id="price" class="form-control input-right" aria-label="Precio" placeholder="0" readonly="">
<input type="text" id="price" class="form-control input-right" aria-label="Precio" placeholder="0" readonly="" >
<span class="input-group-addon">.00</span>
</div>
</div>
Expand All @@ -57,13 +57,13 @@ <h1>Ingreso</h1>
<form id="register">
<div class="form-group">
<label for="bar-code">Descripción: </label>
<input type="text" class="form-control" id="descripcion" placeholder="Descripción">
<input type="text" class="form-control" id="descripcion" placeholder="Descripción" required>
</div>
<div class="form-group">
<label for="bar-code">Cédula Vendedor: </label>
<div class="input-group">
<span class="input-group-addon">C.C.</span>
<input type="text" class="form-control" id="cedula_vendedor" placeholder="Cédula del vendedor">
<input type="text" class="form-control" id="cedula_vendedor" placeholder="Cédula del vendedor" required>
</div>
</div>
<div class="form-group">
Expand All @@ -78,7 +78,7 @@ <h1>Ingreso</h1>
<div class="col">
<label for="product-price">Porcentaje Vendedor: </label>
<div class="input-group">
<input type="text" id="comission" class="form-control input-right" aria-label="Porcentaje" placeholder="0">
<input type="text" id="comission" class="form-control input-right" aria-label="Porcentaje" placeholder="0" required="">
<span class="input-group-addon">%</span>
</div>
</div>
Expand All @@ -88,7 +88,7 @@ <h1>Ingreso</h1>
<button type="button" id="remove_product" class="btn btn-danger">
<span class="icon-minus label"></span>
</button>
<input type="text" class="form-control input-right" id="amount" placeholder="0">
<input type="text" class="form-control input-right" id="amount" placeholder="0" readonly>
<input type="text" class="form-control input-right" id="amount_holder" hidden>
<button type="button" id="add_product" class="btn btn-success">
<span class="icon-plus label"></span>
Expand Down

0 comments on commit e6389a4

Please sign in to comment.