Sha256: 512710263ae5ddb1a239b7c125919d7942238603391ad0522740c75a4c8757cb

Contents?: true

Size: 827 Bytes

Versions: 17

Compression:

Stored size: 827 Bytes

Contents

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

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

  <div class="field">
    <%= f.label :name %><br>
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :advertiser_id %><br>
    <%= f.number_field :advertiser_id %>
  </div>
  <div class="field">
    <%= f.label :description %><br>
    <%= f.text_area :description %>
  </div>
  <div class="field">
    <%= f.label :weight %><br>
    <%= f.number_field :weight %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

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