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

9 lines
377 B
Plaintext

<% content_for :title, t(".edit_table", name: @table.name) %>
<h2><%= t(".edit_table", name: @table.name) %></h2>
<%= link_to t(".delete_table", name: @table.name), table_path(@table),
data: { turbo_method: :delete, turbo_confirm: t(".delete_table_confirmation", name: @table.name) } %>
<%= render partial: "tables/form",
locals: { button_text: t(".update_table") } %>