parent
d98d09cc7d
commit
6b3ccee58f
|
@ -43,7 +43,11 @@
|
|||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
{% if form.id %}
|
||||
<a href="{{ url_for('inventory.devices.lotdevicelist', lot_id=form.id) }}" class="btn btn-danger">Cancel</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('inventory.devices.devicelist') }}" class="btn btn-danger">Cancel</a>
|
||||
{% endif %}
|
||||
<button class="btn btn-primary" type="submit">Save</button>
|
||||
</div>
|
||||
</form>
|
||||
|
|
Reference in New Issue