mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Improvements to generic list + use for supplier
This commit is contained in:
@@ -9,15 +9,6 @@
|
||||
<h1>Supplier List</h1>
|
||||
</div>
|
||||
|
||||
<form id="supplier-search-form" method="get" class="form-inline pull-right">
|
||||
{% csrf_token %}
|
||||
<div class="input-group pull-right" style="width: auto;">
|
||||
{% render_field form.query|add_class:'form-control' placeholder='Search by Name' style="width: 250px"%}
|
||||
<label for="query" class="sr-only">Name:</label>
|
||||
<span class="input-group-btn"><button type="submit" class="btn btn-default" id="id_search">Search</button></span>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{% include 'partials/generic_list.html' with edit="supplier_update" detail="supplier_detail" %}
|
||||
{% include 'partials/generic_list.html' with edit="supplier_update" detail="supplier_detail" create="supplier_create" %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user