Sha256: 78eb26b0d44cda39b5f6fb5000bcf936215af9b8d3a1d4877b6020ff4e037e48

Contents?: true

Size: 689 Bytes

Versions: 6

Compression:

Stored size: 689 Bytes

Contents

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

      <ul>
      <% @place.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :address %><br />
    <%= f.text_field :address %>
  </div>
  <div class="field">
    <%= f.label :city %><br />
    <%= f.text_field :city %>
  </div>
  <div class="field">
    <%= f.label :state %><br />
    <%= f.text_field :state %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jtable-rails-0.2.5 spec/support/rails_app/app/views/places/_form.html.erb
jtable-rails-0.2.4 spec/support/rails_app/app/views/places/_form.html.erb
jtable-rails-0.2.3 spec/support/rails_app/app/views/places/_form.html.erb
jtable-rails-0.2.2 spec/support/rails_app/app/views/places/_form.html.erb
jtable-rails-0.2.1 spec/support/rails_app/app/views/places/_form.html.erb
jtable-rails-0.2.0 spec/support/rails_app/app/views/places/_form.html.erb