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

17 lines
608 B
Elixir
Raw Permalink Normal View History

<%= form_for @changeset, Routes.pipeline_path(@conn, :create), fn form -> %>
2019-07-20 23:08:56 +00:00
<div class="form-group row">
<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>
<div class="form-group row">
<%= 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">
<%= submit "Create Pipeline", class: "btn btn-primary" %>
2019-07-20 23:08:56 +00:00
</div>
</div>
<% end %>