1 <% if @panel.errors.any? %>
2 <div id="error_explanation">
3 <h2><%= pluralize(@panel.errors.count, "error") %> prohibited this panel from being saved:</h2>
6 <% @panel.errors.full_messages.each do |msg| %>
12 <p id="notice"><%= notice %></p>
13 <%= render 'standard' %>
15 <%= link_to 'Back', :action => :list %>