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

11 lines
421 B
Plaintext

<% content_for :title, t(".respond_to_invite") %>
<h2><%= t(".respond_to_invite") %></h2>
<p><%= t(".accept_invite_description", table_name: @table_invite.table.name) %></p>
<%= link_to t(".accept_invite"), table_invite_path(@table_invite, accept: true), data: {
turbo_method: :patch } %>
<%= link_to t(".decline_invite"), table_invite_path(@table_invite, decline: true), data: {
turbo_method: :patch } %>