%= form_with(model: action) do |form| %>
<% if action.errors.any? %>
<%= pluralize(action.errors.count, "error") %> prohibited this action from being saved:
<% action.errors.each do |error| %>
- <%= error.full_message %>
<% end %>
<% end %>
<%= form.label :batch_id, style: "display: block" %>
<%= form.text_field :batch_id %>
<%= form.label :actionable_id, style: "display: block" %>
<%= form.text_field :actionable_id %>
<%= form.submit %>
<% end %>