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

21 lines
785 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 %>
<div class="form-group row">
<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>
<div class="form-group row">
<%= textarea :pipeline, :stages, value: @stages_json, class: "form-control", rows: 15, style: "font-family: monospace;" %>
</div>
<div class="form-group row">
<div class="col-sm-10">
<%= submit "Edit Pipeline", class: "btn btn-primary" %>
</div>
</div>
2019-07-20 23:08:56 +00:00
<% end %>