inventory setup
This commit is contained in:
25
app/views/inventory/inventory_definitions/index.html.erb
Normal file
25
app/views/inventory/inventory_definitions/index.html.erb
Normal file
@@ -0,0 +1,25 @@
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<h1>Inventory Definitions</h1>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="3"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<% @inventory_definitions.each do |inventory_definition| %>
|
||||
<tr>
|
||||
<td><%= link_to 'Show', inventory_definition %></td>
|
||||
<td><%= link_to 'Edit', edit_inventory_definition_path(inventory_definition) %></td>
|
||||
<td><%= link_to 'Destroy', inventory_definition, method: :delete, data: { confirm: 'Are you sure?' } %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
<%= link_to 'New Inventory Definition', new_inventory_definition_path %>
|
||||
Reference in New Issue
Block a user