1
0

Unit.name not required

This commit is contained in:
cryptogopher
2019-08-22 23:47:43 +02:00
parent b1be5e571a
commit f9c5e6d40d
3 changed files with 2 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
<p><%= f.text_field :shortname, required: true, size: 10 %></p>
</div>
<div class="splitcontentright">
<p><%= f.text_field :name, required: true, size: 40 %></p>
<p><%= f.text_field :name, size: 40 %></p>
</div>
</div>
</div>

View File

@@ -40,7 +40,7 @@
<td class="shortname"><%= u.shortname %></td>
<td class="unitname"><%= u.name %></td>
<td>
<%= delete_link unit_path(u) %>
<%= delete_link unit_path(u), data: {} %>
</td>
</tr>
<% end %>