Listing Pipelines

<%= if @live_action in [:new, :edit] do %> <.modal return_to={Routes.pipeline_index_path(@socket, :index)}> <.live_component module={MemexWeb.PipelineLive.FormComponent} id={@pipeline.id || :new} title={@page_title} action={@live_action} pipeline={@pipeline} return_to={Routes.pipeline_index_path(@socket, :index)} /> <% end %> <%= for pipeline <- @pipelines do %> <% end %>
Title Description Visibility
<%= pipeline.title %> <%= pipeline.description %> <%= pipeline.visibility %> <%= live_redirect("Show", to: Routes.pipeline_show_path(@socket, :show, pipeline)) %> <%= live_patch("Edit", to: Routes.pipeline_index_path(@socket, :edit, pipeline)) %> <%= link("Delete", to: "#", phx_click: "delete", phx_value_id: pipeline.id, data: [confirm: "Are you sure?"] ) %>
<%= live_patch("New Pipeline", to: Routes.pipeline_index_path(@socket, :new)) %>