Sha256: 0e1f5901d7b5e4dfdbe7e066f5725acd0be09afab2b7ec31651d705d6870b27c

Contents?: true

Size: 586 Bytes

Versions: 7

Compression:

Stored size: 586 Bytes

Contents

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

      <ul>
      <% @home.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="field">
    <%= f.label :value %><br />
    <%= f.text_field :value %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
asf-rest-adapter-0.4.6 test/asf-rest-adapter-rails-app/app/views/homes/_form.html.erb
asf-rest-adapter-0.4.5 test/asf-rest-adapter-rails-app/app/views/homes/_form.html.erb
asf-rest-adapter-0.4.4 test/asf-rest-adapter-rails-app/app/views/homes/_form.html.erb
asf-rest-adapter-0.4.3 test/asf-rest-adapter-rails-app/app/views/homes/_form.html.erb
asf-rest-adapter-0.4.2 test/asf-rest-adapter-rails-app/app/views/homes/_form.html.erb
asf-rest-adapter-0.3.3 test/asf-rest-adapter-rails-app/app/views/homes/_form.html.erb
asf-rest-adapter-0.3.2 test/asf-rest-adapter-rails-app/app/views/homes/_form.html.erb