Skip to content

Commit

Permalink
Set price per hour on employee register to type number
Browse files Browse the repository at this point in the history
  • Loading branch information
agubelu committed Apr 24, 2017
1 parent 46b5756 commit dd1a394
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h2>{% trans 'registerEmployee' %}</h2>
<div class="form-group required form-class">
<label class="control-label col-sm-4" for="id_{{ form.price_per_hour.name }}">{% trans 'price_per_hour' %}</label>
<div class="col-sm-6">
<input type="text" class="form-control col-md-6" name="{{ form.price_per_hour.name }}" id="id_{{ form.price_per_hour.label }}" value="{{ form.price_per_hour.value }}" required>
<input type="number" min="0" step="1" class="form-control col-md-6" name="{{ form.price_per_hour.name }}" id="id_{{ form.price_per_hour.label }}" value="{{ form.price_per_hour.value }}" required>
</div>
</div>
<div class="form-group required form-class">
Expand Down

0 comments on commit dd1a394

Please sign in to comment.