23 lines
742 B
HTML
23 lines
742 B
HTML
{% extends "base.html" %}
|
|
{% load static i18n crispy_forms_tags %}
|
|
|
|
{% block content %}
|
|
<div class="container-fluid mt-4">
|
|
<form action="" method="post">
|
|
{% csrf_token %}
|
|
<div class="form-group">
|
|
<label for="account">Name</label>
|
|
<input type="text" class="form-control" id="name" name="name" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="account">Account</label>
|
|
<select class="form-control" name="account" id="account">
|
|
{% for account in inventory_accounts %}
|
|
<option value="{{ account.pk }}">{{ account }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
<button type="submit" class="btn btn-phoenix-primary mt-2">Add New Item To Inventory</button>
|
|
</form>
|
|
</div>
|
|
{% endblock content %} |