Sha256: 538d63a72167df671c86ddd9c4f34dcb1a78d79c38a6c007c3b7eed2f5c6b1d7

Contents?: true

Size: 832 Bytes

Versions: 5

Compression:

Stored size: 832 Bytes

Contents

<%= form_with(model: block) do |form| %>
  <% if block.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(block.errors.count, "error") %> prohibited this block from being saved:</h2>

      <ul>
        <% block.errors.each do |error| %>
          <li><%= error.full_message %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= form.label :ip %>
    <%= form.text_field :ip %>
  </div>

  <div class="field">
    <%= form.label :provider %>
    <%= form.text_field :provider %>
  </div>

  <div class="field">
    <%= form.label :controllername %>
    <%= form.text_field :controllername %>
  </div>

  <div class="field">
    <%= form.label :actionname %>
    <%= form.text_field :actionname %>
  </div>

  <div class="actions">
    <%= form.submit %>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
antispam-0.1.4 app/views/antispam/blocks/_form.html.erb
antispam-0.1.3 app/views/antispam/blocks/_form.html.erb
antispam-0.1.2 app/views/antispam/blocks/_form.html.erb
antispam-0.1.1 app/views/antispam/blocks/_form.html.erb
antispam-0.1.0 app/views/antispam/blocks/_form.html.erb