fix: category update sync (#1720)

This commit was merged in pull request #1720.
This commit is contained in:
Jestin Palamuttam
2025-01-28 06:28:45 +05:30
committed by GitHub
parent de90b29201
commit 8256d116dd

View File

@@ -1,7 +1,7 @@
<%# locals: (category:, categories:) %>
<div data-controller="color-avatar">
<%= styled_form_with model: category, class: "space-y-4" do |f| %>
<%= styled_form_with model: category, class: "space-y-4", data: { turbo_frame: :_top } do |f| %>
<section class="space-y-4">
<div class="w-fit m-auto">
<%= render partial: "shared/color_avatar", locals: { name: category.name, color: category.color } %>