<%= render DialogComponent.new do |dialog| %>
  <% dialog.with_header(title: t(".edit")) %>
  <% dialog.with_body do %>
    <%= render "form", category: @category, categories: @categories %>
  <% end %>
<% end %>
