tabletop-companion/app/views/table_invites/new.html.erb

12 lines
348 B
Plaintext

<% content_for :title, t(".new_table_invite", name: @table.name) %>
<h2><%= t(".new_table_invite", name: @table.name) %></h2>
<p><%= t(".new_invite_description") %></p>
<%= form_with model: @table_invite, url: table_table_invites_path do |f| %>
<%= f.label :email %>
<%= f.email_field :email %>
<%= f.submit t(".button_text") %>
<% end %>