raven/views/license/list.erb

22 lines
516 B
Plaintext

<div class="row">
<div class="twelve columns">
<h1>Software Licenses List</h1>
</div>
</div>
<div class="row">
<div class="twelve columns">
<p><a href="/license/create">Create new license</a></p>
<% if licenses.length > 0 %>
<ul>
<% licenses.each do |license| %>
<li><a href="/license/<%= license.id %>"><%= license.name %></a></li>
<% end %>
</ul>
<% else %>
<p>There is nothing registered in your inventory yet.</p>
<% end %>
</div>
</div>