app/views/lines/admin/articles/edit.html.erb in lines-engine-1.0.0 vs app/views/lines/admin/articles/edit.html.erb in lines-engine-1.1.0
- old
+ new
@@ -1,15 +1,2 @@
-<% if @article.errors.any? %>
-<div id="error_explanation">
- <h2><%= pluralize(@article.errors.count, "error") %> prohibited this article from being saved:</h2>
-
- <ul>
- <% @article.errors.full_messages.each do |msg| %>
- <li><%= msg %></li>
- <% end %>
- </ul>
- <a href="#" class="close">x</a>
-</div>
-<% end %>
-
<%= render 'lines/admin/articles/form' %>
<%= render 'lines/admin/articles/picture_box' %>
\ No newline at end of file