%= form_with(model: alert) do |form| %>
<% if alert.errors.any? %>
<%= pluralize(alert.errors.count, "error") %> prohibited this alert from being saved:
<% alert.errors.each do |error| %>
- <%= error.full_message %>
<% end %>
<% end %>
<%= form.label :class_name %>
<%= form.text_field :class_name %>
<%= form.label :kind %>
<%= form.text_field :kind %>
<%= form.label :symbol %>
<%= form.text_field :symbol %>
<%= form.label :direction %>
<%= form.text_field :direction %>
<%= form.label :strike %>
<%= form.text_field :strike %>
<%= form.label :profile_id %>
<%= form.number_field :profile_id %>
<%= form.submit %>
<% end %>