2019-07-20 23:08:56 +00:00
|
|
|
<h2>Feed Pipeline</h2>
|
2019-07-06 02:00:18 +00:00
|
|
|
|
2019-11-09 03:27:46 +00:00
|
|
|
<%= form_for @changeset, Routes.feed_path(@conn, :update, @feed.id), fn f -> %>
|
|
|
|
<div class="form-group row">
|
|
|
|
<label class="col-sm-2 col-form-label" for="pipeline_id">Pipeline ID</label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<%= select f, :pipeline_id, @pipelines, class: "custom-select" %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<%= if @feed.pipeline_id do %>
|
|
|
|
<div class="form-group row">
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<a href="<%= Routes.pipeline_path(@conn, :show, @feed.pipeline_id) %>" class="col-sm-2">View Pipeline</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<div class="form-group row">
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<%= submit "Update Feed", class: "btn btn-primary" %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|