%= form_with(model: log) do |form| %>
<% if log.errors.any? %>
<%= pluralize(log.errors.count, "error") %> prohibited this log from being saved:
<% log.errors.each do |error| %>
- <%= error.full_message %>
<% end %>
<% end %>
<%= form.label :original_content %>
<%= form.text_area :original_content %>
<%= form.label :action %>
<%= form.text_field :action %>
<%= form.label :filtered_content %>
<%= form.text_area :filtered_content %>
<%= form.label :mod_words %>
<%= form.text_field :mod_words %>
<%= form.submit %>
<% end %>