Soc/app/views/todos/edit.html.erb

11 lines
287 B
Plaintext
Raw Normal View History

2024-01-07 13:50:53 +00:00
<% @title = t(".edit") %>
<%= render partial: "form",
locals: {
user: @user,
button_text: t(".edit"),
title: t(".edit"),
} %>
<%= link_to t(".delete"), @todo, data: { turbo_method: :delete, turbo_confirm: t(".confirm") } %>