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

9 lines
377 B
Plaintext
Raw Normal View History

2024-05-28 19:16:43 +00:00
<% 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",
2024-05-29 07:28:13 +00:00
locals: { button_text: t(".update_table") } %>