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 @units.any? %>
<% if @units.many? %>
<table class="list">
<thead>
<tr>
@@ -34,6 +34,7 @@
</thead>
<tbody>
<% @units.each do |u| %>
<% next if u.new_record? %>
<tr id="unit-<%= u.id %>" class="unit">
<td class="shortname"><%= u.shortname %></td>
<td class="unitname"><%= u.name %></td>