frenzy/lib/frenzy_web/templates/pipeline/edit.html.eex

21 lines
767 B
Elixir
Raw Permalink Normal View History

2019-11-09 18:21:45 +00:00
<h1>Edit Pipeline</h1>
2020-07-18 14:44:14 +00:00
<a href="<%= Routes.pipeline_path(@conn, :edit, @pipeline.id) %>" class="btn btn-primary">Edit UI</a>
<%= form_tag Routes.pipeline_path(@conn, :update, @pipeline.id), method: :put do %>
2022-09-14 02:25:11 +00:00
<div class="row mb-2">
<label class="col-sm-2 col-form-label" for="name">Name</label>
<div class="col-sm-10">
<%= text_input :pipeline, :name, value: @name, placeholder: "My New Pipeline", class: "form-control" %>
</div>
</div>
2022-09-14 02:25:11 +00:00
<div class="row mb-2">
<%= textarea :pipeline, :stages, value: @stages_json, class: "form-control", rows: 15, style: "font-family: monospace;" %>
</div>
2022-09-14 02:25:11 +00:00
<div class="row mb-2">
<div class="col-sm-10">
<%= submit "Edit Pipeline", class: "btn btn-primary" %>
</div>
</div>
2019-07-20 23:08:56 +00:00
<% end %>