Sha256: 3e57ca222b1210c16e230bbbd6cdb430fa7d791ebd3ca10ffe8cdac3030ba1af

Contents?: true

Size: 500 Bytes

Versions: 23

Compression:

Stored size: 500 Bytes

Contents

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

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

23 entries across 6 versions & 1 rubygems

Version Path
tabulous-2.1.4 spec/applications/bootstrap/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.4 spec/applications/simple_tabs/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.4 spec/applications/main/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.4 spec/applications/custom_renderer/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.3 spec/applications/custom_renderer/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.3 spec/applications/simple_tabs/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.3 spec/applications/main/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.3 spec/applications/bootstrap/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.2 spec/applications/bootstrap/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.2 spec/applications/custom_renderer/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.2 spec/applications/main/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.2 spec/applications/simple_tabs/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.1 spec/applications/bootstrap/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.1 spec/applications/simple_tabs/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.1 spec/applications/main/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.1 spec/applications/custom_renderer/rails_4-0-5/app/views/planets/_form.html.erb
tabulous-2.1.0 spec/applications/bootstrap/rails_4-0-1/app/views/planets/_form.html.erb
tabulous-2.1.0 spec/applications/simple_tabs/rails_4-0-1/app/views/planets/_form.html.erb
tabulous-2.1.0 spec/applications/main/rails_4-0-1/app/views/planets/_form.html.erb
tabulous-2.1.0 spec/applications/custom_renderer/rails_4-0-1/app/views/planets/_form.html.erb