Sha256: 5113264a3bacdcdb4f6da79208a7d37075e348ac20683e362ea0327ca701b57b

Contents?: true

Size: 517 Bytes

Versions: 32

Compression:

Stored size: 517 Bytes

Contents

<%= form_for(@exoplanet) do |f| %>
  <% if @exoplanet.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@exoplanet.errors.count, "error") %> prohibited this exoplanet from being saved:</h2>

      <ul>
      <% @exoplanet.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

32 entries across 15 versions & 1 rubygems

Version Path
tabulous-1.3.0 test/applications/rails30/subtabs/app/views/exoplanets/_form.html.erb
tabulous-1.2.0 test/applications/rails31/subtabs/app/views/exoplanets/_form.html.erb
tabulous-1.2.0 test/applications/rails30/subtabs/app/views/exoplanets/_form.html.erb
tabulous-1.1.0 test/applications/rails30/subtabs/app/views/exoplanets/_form.html.erb
tabulous-1.1.0 test/applications/rails31/subtabs/app/views/exoplanets/_form.html.erb
tabulous-1.0.3 test/applications/rails30/subtabs/app/views/exoplanets/_form.html.erb
tabulous-1.0.3 test/applications/rails31/subtabs/app/views/exoplanets/_form.html.erb
tabulous-1.0.2 test/applications/subtabs/app/views/exoplanets/_form.html.erb
tabulous-1.0.1 test/applications/subtabs/app/views/exoplanets/_form.html.erb
tabulous-1.0.0 test/applications/subtabs/app/views/exoplanets/_form.html.erb
tabulous-0.0.2 test/applications/subtabs/app/views/exoplanets/_form.html.erb
tabulous-0.0.1 test/applications/subtabs/app/views/exoplanets/_form.html.erb