changed inputs to number
This commit is contained in:
parent
140bb3a3d6
commit
e933473d07
|
@ -28,7 +28,7 @@
|
|||
<div class="control-group">
|
||||
<label class="control-label" for="odometer">Odometer</label>
|
||||
<div class="controls">
|
||||
<input id="odometer" name="odometer" placeholder="" class="input-large" required="" type="text" value='{{ data.last.odometer }}' />
|
||||
<input id="odometer" name="odometer" placeholder="" class="input-large" required="" type="number" value='{{ data.last.odometer }}' />
|
||||
{% if data.error['odometer'] %}
|
||||
<p class='error'>{{ data.error['odometer'] }}</p>
|
||||
{% endif %}
|
||||
|
@ -39,7 +39,7 @@
|
|||
<div class="control-group">
|
||||
<label class="control-label" for="litres">Litres</label>
|
||||
<div class="controls">
|
||||
<input id="litres" name="litres" placeholder="" class="input-large" required="" type="text" value='{{ data.last.litres }}' />
|
||||
<input id="litres" name="litres" placeholder="" class="input-large" required="" type="number" value='{{ data.last.litres }}' />
|
||||
{% if data.error['litres'] %}
|
||||
<p class='error'>{{ data.error['litres'] }}</p>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue