Sha256: 0a3ba338d15e9315ebf0c21c24f71004df9d0538f5aae805bf9d1fbe240275f5

Contents?: true

Size: 507 Bytes

Versions: 10

Compression:

Stored size: 507 Bytes

Contents

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

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

10 entries across 10 versions & 1 rubygems

Version Path
dynamic_controller-0.0.12 spec/dummy/app/views/countries/_form.html.erb
dynamic_controller-0.0.11 spec/dummy/app/views/countries/_form.html.erb
dynamic_controller-0.0.10 spec/dummy/app/views/countries/_form.html.erb
dynamic_controller-0.0.9 spec/dummy/app/views/countries/_form.html.erb
dynamic_controller-0.0.8 spec/dummy/app/views/countries/_form.html.erb
dynamic_controller-0.0.7 spec/dummy/app/views/countries/_form.html.erb
dynamic_controller-0.0.6 spec/dummy/app/views/countries/_form.html.erb
dynamic_controller-0.0.5 spec/dummy/app/views/countries/_form.html.erb
dynamic_controller-0.0.3 spec/dummy/app/views/countries/_form.html.erb
dynamic_controller-0.0.1 spec/dummy/app/views/countries/_form.html.erb