27 lines
1.2 KiB
HTML
27 lines
1.2 KiB
HTML
{% load i18n %}
|
|
<h5 >{% trans "Asset Approve" %}</h5>
|
|
<form hx-post="{%url 'asset-request-approve' id=id %}" hx-target="#asset-request-allocation-modal-target">
|
|
{% csrf_token %}
|
|
<div class=" m-3">
|
|
<!-- <div class="oh-input__group ">
|
|
<label class="oh-input__label" for="objective">{% trans "Requesting User" %}</label>
|
|
{{asset_allocation_form.assigned_to_employee_id}}
|
|
{{asset_allocation_form.assigned_to_employee_id.errors}}
|
|
</div> -->
|
|
<div class="oh-input__group ">
|
|
<label class="oh-input__label" for="objective">{% trans "Asset" %}</label>
|
|
{{asset_allocation_form.asset_id}}
|
|
{{asset_allocation_form.asset_id.errors}}
|
|
</div>
|
|
<!-- <div class="oh-input__group ">
|
|
<label class="oh-input__label" for="objective">{% trans "Assigned By" %}</label>
|
|
{{asset_allocation_form.assigned_by_employee_id}}
|
|
{{asset_allocation_form.assigned_by_employee_id.errors}}
|
|
</div> -->
|
|
</div>
|
|
<div class="oh-modal__dialog-footer">
|
|
<button type="submit" class="oh-btn oh-btn--secondary oh-btn--shadow">
|
|
{% trans "Save" %}
|
|
</button>
|
|
</div>
|
|
</form> |