Sha256: 15f7f94828afc0fd62afb6afc765389cde68f3d8b4948c78e053db526944f6a7
Contents?: true
Size: 530 Bytes
Versions: 6
Compression:
Stored size: 530 Bytes
Contents
<%= form_for(@rogue_planet) do |f| %> <% if @rogue_planet.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@rogue_planet.errors.count, "error") %> prohibited this rogue_planet from being saved:</h2> <ul> <% @rogue_planet.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :name %><br> <%= f.text_field :name %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems