Sha256: 2024d123606fe33a157a29e9ddec66791545957a511decb7bb3bab94e7bf7209

Contents?: true

Size: 1.12 KB

Versions: 15

Compression:

Stored size: 1.12 KB

Contents

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

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

  <div class="field">
    <%= f.label :epom_id %><br>
    <%= f.number_field :epom_id %>
  </div>
  <div class="field">
    <%= f.label :zone_id %><br>
    <%= f.number_field :zone_id %>
  </div>
  <div class="field">
    <%= f.label :placement_type %><br>
    <%= f.text_field :placement_type %>
  </div>
  <div class="field">
    <%= f.label :name %><br>
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :ad_unit_id %><br>
    <%= f.number_field :ad_unit_id %>
  </div>
  <div class="field">
    <%= f.label :size_height %><br>
    <%= f.number_field :size_height %>
  </div>
  <div class="field">
    <%= f.label :size_width %><br>
    <%= f.number_field :size_width %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
epom_rails-1.4.4 test/dummy/app/views/placements/_form.html.erb
epom_rails-1.4.2 test/dummy/app/views/placements/_form.html.erb
epom_rails-1.4.1 test/dummy/app/views/placements/_form.html.erb
epom_rails-1.4.0 test/dummy/app/views/placements/_form.html.erb
epom_rails-1.3.6 test/dummy/app/views/placements/_form.html.erb
epom_rails-1.3.5 test/dummy/app/views/placements/_form.html.erb
epom_rails-1.3.2 test/dummy/app/views/placements/_form.html.erb
epom_rails-1.0.0 test/dummy/app/views/placements/_form.html.erb
epom_rails-0.4.9 test/dummy/app/views/placements/_form.html.erb
epom_rails-0.4.8 test/dummy/app/views/placements/_form.html.erb
epom_rails-0.4.7 test/dummy/app/views/placements/_form.html.erb
epom_rails-0.4.6 test/dummy/app/views/placements/_form.html.erb
epom_rails-0.4.5 test/dummy/app/views/placements/_form.html.erb
epom_rails-0.4.2 test/dummy/app/views/placements/_form.html.erb
epom_rails-0.4.1 test/dummy/app/views/placements/_form.html.erb