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

11 lines
292 B
Plaintext
Raw Normal View History

2023-10-05 18:05:53 +00:00
<% @title = t(".edit") %>
<%= render partial: "form",
locals: {
user: @user,
button_text: t(".edit"),
title: t(".edit"),
} %>
<%= link_to t(".delete"), @micropost, data: { turbo_method: :delete, turbo_confirm: t(".confirm") } %>