Files
ihrm/asset/templates/request_allocation/asset_allocation_creation.html
2023-05-10 15:06:57 +05:30

27 lines
1.2 KiB
HTML

{% load i18n %}
<h5 >{% trans "Asset Allocation" %}</h5>
<form hx-post="{%url 'asset-allocate-creation' %}" 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 "Assigned To" %}</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>