Files
ihrm/asset/templates/batch/asset_batch_number_creation.html
2024-01-30 19:05:55 +05:30

31 lines
1.4 KiB
HTML

{% load static i18n %}
{% load i18n %}
<div class="oh-modal__dialog-header">
<span class="oh-modal__dialog-title" id="addEmployeeObjectiveModalLabel">
<h5>{% trans "Batch Number" %}</h5>
</span>
<button type="button" class="oh-modal__close" data-dismiss="oh-modal" aria-label="Close"
hx-get="{%url 'asset-batch-number-search'%}" hx-target=#AssetBatchList>
<ion-icon name="close-outline"></ion-icon>
</button>
</div>
<form hx-post="{%url 'asset-batch-number-creation' %}" hx-target="#AssetFormTarget">
{% csrf_token %}
<div class="oh-modal__dialog-body">
<div class="oh-input__group ">
<label class="oh-input__label" for="{{asset_batch_form.lot_number.id_for_label}}">{% trans "Batch Number" %}</label>
{{asset_batch_form.lot_number}}
{{asset_batch_form.lot_number.errors}}
</div>
<div class="oh-input__group ">
<label class="oh-input__label" for="{{asset_batch_form.lot_description.id_for_label}}">{% trans "Description" %}</label>
{{asset_batch_form.lot_description}}
{{asset_batch_form.lot_description.errors}}
</div>
<div class="oh-modal__dialog-footer">
<button type="submit" class="oh-btn oh-btn--secondary oh-btn--shadow ">
{% trans "Save" %}
</button>
</div>
</div>
</form>