1
0

New objects are now created through association

Added Sources to sidebar
This commit is contained in:
cryptogopher
2019-09-23 15:35:43 +02:00
parent ce9f011694
commit c96cea5ca6
10 changed files with 21 additions and 10 deletions

View File

@@ -23,7 +23,7 @@
</div>
<h2><%= t ".heading" %></h2>
<% if @quantities.any? %>
<% if @quantities.many? %>
<table class="list">
<thead>
<tr>
@@ -35,6 +35,7 @@
</thead>
<tbody>
<% Quantity.each_with_level(@quantities) do |q, level| %>
<% next if q.new_record? %>
<tr id="quantity-<%= q.id %>"
class="quantity <%= "project idnt idnt-#{level}" if level > 0 %>">
<td class="name"><span><%= q.name %></span></td>