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

11 lines
292 B
Plaintext

<% @title = t(".edit") %>
<%= render partial: "form",
locals: {
user: @user,
button_text: t(".edit"),
title: t(".edit"),
} %>
<%= link_to t(".delete"), @blog_post, data: { turbo_method: :delete, turbo_confirm: t(".confirm") } %>