Add chemical ID to the chemical instances listing.
authorW. Trevor King <wking@drexel.edu>
Mon, 2 Apr 2012 15:48:49 +0000 (11:48 -0400)
committerW. Trevor King <wking@drexel.edu>
Mon, 2 Apr 2012 15:48:49 +0000 (11:48 -0400)
chemdb/templates/chemdb/chemical_instances.html

index d72adf1f032002b4688ddd17c69b6aa1cc90cf7c..e39c48be4e6d27802c8df9ccca95a3aedc75b4dd 100644 (file)
        <table>
                <thead>
                        <tr>
-                               <th>Chemical</th><th>CAS#</th><th>Location</th><th>Amount</th>
-                               <th>Vendor</th><th>Catalog#</th><th>Received</th><th>Disposed</th>
+                               <th>ID</th><th>Chemical</th><th>CAS#</th><th>Location</th>
+                               <th>Amount</th><th>Vendor</th><th>Catalog#</th>
+                               <th>Received</th><th>Disposed</th>
                        </tr>
                </thead>
                <tbody>
        {% for chemical_instance in chemical_instances %}
                        <tr>
+                               <td>{{ chemical_instance.id }}</td>
                                <td><a href="{% url chemical chemical_instance.chemical.id %}">
                                        {{ chemical_instance.chemical.abbrev }}</a></td>
                                <td>{{ chemical_instance.chemical.cas_numbers }}</td>