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

8 lines
402 B
Plaintext
Raw Normal View History

2024-06-05 17:46:27 +00:00
<% content_for :title, t(".edit_character", name: @character.name) %>
<h2><%= t(".edit_character", name: @character.name) %></h2>
<%= link_to t(".delete_character", name: @character.name), character_path(@character),
data: { turbo_method: :delete, turbo_confirm: t(".delete_character_confirmation", name: @character.name) } %>
<%= render partial: "form", locals: { button_text: t(".update") } %>