Sha256: e0631179a7078aa8b20565818e1db783a789435a79cbb85ca878f7a30afabd2d

Contents?: true

Size: 939 Bytes

Versions: 9

Compression:

Stored size: 939 Bytes

Contents

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

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

  <div class="field">
    <%= f.label :master_id %><br />
    <%= f.number_field :master_id %>
  </div>
  <div class="field">
    <%= f.label :master_type %><br />
    <%= f.text_field :master_type %>
  </div>
  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :content_for %><br />
    <%= f.check_box :content_for %>
  </div>
  <div class="field">
    <%= f.label :content %><br />
    <%= f.text_area :content %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
advert_selector-3.0.1 app/views/advert_selector/helper_items/_form.html.erb
advert_selector-3.0.0 app/views/advert_selector/helper_items/_form.html.erb
advert_selector-2.0.1 app/views/advert_selector/helper_items/_form.html.erb
advert_selector-2.0.0 app/views/advert_selector/helper_items/_form.html.erb
advert_selector-1.0.4 app/views/advert_selector/helper_items/_form.html.erb
advert_selector-1.0.3 app/views/advert_selector/helper_items/_form.html.erb
advert_selector-1.0.2 app/views/advert_selector/helper_items/_form.html.erb
advert_selector-1.0.1 app/views/advert_selector/helper_items/_form.html.erb
advert_selector-1.0.0 app/views/advert_selector/helper_items/_form.html.erb