2019-11-09 03:27:46 +00:00
|
|
|
<%= form_for @changeset, Routes.pipeline_path(@conn, :create), fn form -> %>
|
2019-07-20 23:08:56 +00:00
|
|
|
<div class="form-group row">
|
2019-11-09 03:27:46 +00:00
|
|
|
<label class="col-sm-2 col-form-label" for="name">Name</label>
|
2019-07-20 23:08:56 +00:00
|
|
|
<div class="col-sm-10">
|
2019-11-09 03:27:46 +00:00
|
|
|
<%= text_input form, :name, placeholder: "My New Pipeline", class: "form-control" %>
|
2019-07-20 23:08:56 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group row">
|
2019-11-09 03:27:46 +00:00
|
|
|
<%= textarea form, :stages, class: "form-control", rows: 15, style: "font-family: monospace;" %>
|
2019-07-20 23:08:56 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group row">
|
|
|
|
<div class="col-sm-10">
|
2019-11-09 03:27:46 +00:00
|
|
|
<%= submit "Create Pipeline", class: "btn btn-primary" %>
|
2019-07-20 23:08:56 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|