Add ability so set category for multiple parts at once

This commit is contained in:
Oliver Walters 2019-09-17 13:49:57 +10:00
parent b5b7dc0fbf
commit 94cd28ecb9
2 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@
<div class='dropdown' style='float: right;'> <div class='dropdown' style='float: right;'>
<button id='part-options' class='btn btn-primary dropdown-toggle' type='button' data-toggle="dropdown">Options<span class='caret'></span></button> <button id='part-options' class='btn btn-primary dropdown-toggle' type='button' data-toggle="dropdown">Options<span class='caret'></span></button>
<ul class='dropdown-menu'> <ul class='dropdown-menu'>
<li><a href='#' id='multi-part-category' title='Set category'>Set Category</a></li>
<li><a href='#' id='multi-part-order' title='Order parts'>Order Parts</a></li> <li><a href='#' id='multi-part-order' title='Order parts'>Order Parts</a></li>
<li><a href='#' id='multi-part-export' title='Export'>Export Data</a></li> <li><a href='#' id='multi-part-export' title='Export'>Export Data</a></li>
</ul> </ul>

View File

@ -6,7 +6,7 @@
{% load crispy_forms_tags %} {% load crispy_forms_tags %}
<div class='control-group'> <div class='control-group'>
<label class='control-label requiredField'>Location</label> <label class='control-label requiredField'>Part Category</label>
<div class='controls'> <div class='controls'>
<select class='select' name='part_category'> <select class='select' name='part_category'>
<option value=''>---------</option> <option value=''>---------</option>