<%= notice %>

Send invitation

<%= form_with(url: invitation_path) do |form| %> <% if @user.errors.any? %>

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

<% end %>
<%= form.label :email, style: "display: block" %> <%= form.email_field :email, required: true, autofocus: true %>
<%= form.submit "Send an invitation" %>
<% end %>
<%= link_to "Back", root_path %>