<%= form_with(model: profile) do |form| %> <% if profile.errors.any? %>

<%= pluralize(profile.errors.count, "error") %> prohibited this profile from being saved:

<% end %>
<%= form.label :email %> <%= form.text_field :email %>
<%= form.label :role_name %> <%= form.text_field :role_name %>
<%= form.label :user_id %> <%= form.number_field :user_id %>
<%= form.submit %>
<% end %>