1 <%= form_for(@comic) do |f| %>
2 <% if @comic.errors.any? %>
3 <div id="error_explanation">
4 <h2><%= pluralize(@comic.errors.count, "error") %> prohibited this comic from being saved:</h2>
7 <% @comic.errors.full_messages.each do |msg| %>
15 <%= f.label :title %><br />
16 <%= f.text_field :title %>
19 <%= f.label :visible %><br />
20 <%= f.collection_select :visible, MagicNumber['comic_visible_items'], :last, :first, :html => {:selected => @comic.visible} %>