Sha256: 058da3e220940cc0a108c851f3f2d04de08d9e2ff0b0f7537a7db07a4a85f7a3

Contents?: true

Size: 709 Bytes

Versions: 19

Compression:

Stored size: 709 Bytes

Contents

<p style="color: green"><%%= notice %></p>

<h1>Send invitation</h1>

<%%= form_with(url: invitation_path) do |form| %>
  <%% if @user.errors.any? %>
    <div style="color: red">
      <h2><%%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>

      <ul>
        <%% @user.errors.each do |error| %>
          <li><%%= error.full_message %></li>
        <%% end %>
      </ul>
    </div>
  <%% end %>

  <div>
    <%%= form.label :email, style: "display: block" %>
    <%%= form.email_field :email, required: true, autofocus: true %>
  </div>

  <div>
    <%%= form.submit "Send an invitation" %>
  </div>
<%% end %>

<br>

<div>
  <%%= link_to "Back", root_path %>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
authentication-zero-4.0.3 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-4.0.2 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-4.0.1 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-4.0.0 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-3.0.2 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-3.0.1 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-3.0.0 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-3.0.0.alpha1 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-2.16.36 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-2.16.35 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-2.16.34 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-2.16.33 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-2.16.32 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-2.16.31 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-2.16.30 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-2.16.29 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-2.16.28 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-2.16.27 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt
authentication-zero-2.16.26 lib/generators/authentication/templates/erb/invitations/new.html.erb.tt