Sha256: 592fcad5ccc924442539a65202ac4ae1a67464653b96d537d162b2be516eea50

Contents?: true

Size: 846 Bytes

Versions: 18

Compression:

Stored size: 846 Bytes

Contents

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

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

  <div class="field">
    <%= form.label :original_content %>
    <%= form.text_area :original_content %>
  </div>

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

  <div class="field">
    <%= form.label :filtered_content %>
    <%= form.text_area :filtered_content %>
  </div>

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

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

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
censor_bear-0.1.18 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.17 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.15 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.14 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.13 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.12 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.11 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.10 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.9 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.8 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.7 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.6 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.5 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.4 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.3 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.2 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.1 app/views/censor_bear/logs/_form.html.erb
censor_bear-0.1.0 app/views/censor_bear/logs/_form.html.erb