Edit <%= @pipeline.name %>
Edit as JSON
<%= for {stage, index} <- Enum.with_index(@pipeline.stages) do %>
<%= component_for(@socket, stage, index) %>
<% end %>
<%= form_for :stage, "#", [class: "mt-4 mb-4", phx_submit: :add_stage], fn f -> %>
<%= submit "Add Stage", class: "btn btn-primary" %>
<% end %>