app/views/naf/machines/_form.html.erb in naf-2.0.4 vs app/views/naf/machines/_form.html.erb in naf-2.1.0
- old
+ new
@@ -1,10 +1,9 @@
<%= form_for(@machine) do |f| %>
-
<% if @machine.errors.any? %>
- <div id="errorExplanation">
- <h2><%= pluralize(@machine.errors.count, "error") %> prohibited machine from being saved:</h2>
- </div>
+ <div id="errorExplanation">
+ <h2><%= pluralize(@machine.errors.count, "error") %> prohibited machine from being saved:</h2>
+ </div>
<% end %>
</br>
<div class="field">
<%= f.label :server_address, "Server address*" %>