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

17 lines
590 B
Elixir
Raw Permalink Normal View History

<%= form_for @changeset, Routes.pipeline_path(@conn, :create), fn form -> %>
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>
2019-07-20 23:08:56 +00:00
<div class="col-sm-10">
<%= text_input form, :name, placeholder: "My New Pipeline", class: "form-control" %>
2019-07-20 23:08:56 +00:00
</div>
</div>
2022-09-14 02:25:11 +00:00
<div class="row mb-2">
<%= textarea form, :stages, class: "form-control", rows: 15, style: "font-family: monospace;" %>
2019-07-20 23:08:56 +00:00
</div>
2022-09-14 02:25:11 +00:00
<div class="row mb-2">
2019-07-20 23:08:56 +00:00
<div class="col-sm-10">
<%= submit "Create Pipeline", class: "btn btn-primary" %>
2019-07-20 23:08:56 +00:00
</div>
</div>
<% end %>