Fixed a bug with editing services / pitstops
The event that was edited should not limit the dates and odometers for the update.
This commit is contained in:
@@ -73,10 +73,10 @@
|
||||
</tr>
|
||||
</table>
|
||||
{% if loop.first %}
|
||||
{% endif %}
|
||||
<a id="vehicle_{{vindex}}_edit_pitstop_{{loop.index}}" href="{{ url_for('edit_service_form', sid=field.id) }}" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> edit
|
||||
</a>
|
||||
{% endif %}
|
||||
<a id="vehicle_{{vindex}}_delete_pitstop_{{loop.index}}" href="{{ url_for('delete_service_form', sid=field.id) }}" class="btn btn-primary btn-warning ">
|
||||
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span> delete
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user