%= form_for(@galaxies_spiral_galaxy) do |f| %>
<% if @galaxies_spiral_galaxy.errors.any? %>
<%= pluralize(@galaxies_spiral_galaxy.errors.count, "error") %> prohibited this galaxies_spiral_galaxy from being saved:
<% @galaxies_spiral_galaxy.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.submit %>
<% end %>