Sha256: a1bfa82047654772798fe3d6d1251e3bb08a2dbc39d79bca1d28919c3a32b402

Contents?: true

Size: 797 Bytes

Versions: 8

Compression:

Stored size: 797 Bytes

Contents

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

      <ul>
      <% @zone.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 :name %><br>
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :description %><br>
    <%= f.text_area :description %>
  </div>
  <div class="field">
    <%= f.label :site_id %><br>
    <%= f.number_field :site_id %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
epom_rails-1.0.0 test/dummy/app/views/zones/_form.html.erb
epom_rails-0.4.9 test/dummy/app/views/zones/_form.html.erb
epom_rails-0.4.8 test/dummy/app/views/zones/_form.html.erb
epom_rails-0.4.7 test/dummy/app/views/zones/_form.html.erb
epom_rails-0.4.6 test/dummy/app/views/zones/_form.html.erb
epom_rails-0.4.5 test/dummy/app/views/zones/_form.html.erb
epom_rails-0.4.2 test/dummy/app/views/zones/_form.html.erb
epom_rails-0.4.1 test/dummy/app/views/zones/_form.html.erb