<%= turbo_frame_tag dom_id(@workflow, :header) do %> <%= form_with model: @workflow, url: workflow_path(@workflow) do |form| %>
<%= form.text_field :name, required: true, autofocus: true %>
<%= form.button type: :submit, class: "btn btn--small" do %> <%= image_tag "check.svg", aria: { hidden: true }, size: 24 %> <% end %> <%= link_to workflow_path(@workflow), class: "btn btn--small", data: { turbo_frame: dom_id(@workflow) } do %> <%= image_tag "remove.svg", aria: { hidden: true }, size: 24 %> <% end %>
<% end %> <% end %>