2022-12-08 17:26:44 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="twelve columns">
|
2022-12-09 13:44:43 -05:00
|
|
|
<h1>Hardware Inventory List</h1>
|
2022-12-08 17:26:44 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-07 20:12:23 -05:00
|
|
|
|
2022-12-08 17:26:44 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="twelve columns">
|
|
|
|
<p><a href="/item/create">Create new item</a></p>
|
|
|
|
|
|
|
|
<% if items.length > 0 %>
|
|
|
|
<ul>
|
|
|
|
<% items.each do |item| %>
|
2022-12-09 11:42:12 -05:00
|
|
|
<li><a href="/item/<%= item.id %>"><%= item.name %></a></li>
|
2022-12-08 17:26:44 -05:00
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<% else %>
|
|
|
|
<p>There is nothing registered in your inventory yet.</p>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|