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

14 lines
353 B
Plaintext

<% @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 %>