Soc/app/views/users/edit.turbo_stream.erb

14 lines
353 B
Plaintext
Raw Normal View History

2023-08-18 18:46:38 +00:00
<% @title = "Edit account details" %>
<%= turbo_stream.replace "flash_wrapper" do %>
<%= render "shared/flash" %>
<% end %>
<%= turbo_stream.replace "user_form" do %>
<%= render partial: "form",
locals: {
user: @user,
button_text: t(".edit"),
title: t(".edit"),
} %>
<% end %>