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

17 lines
590 B
Elixir

<%= form_for @changeset, Routes.pipeline_path(@conn, :create), fn form -> %>
<div class="row mb-2">
<label class="col-sm-2 col-form-label" for="name">Name</label>
<div class="col-sm-10">
<%= text_input form, :name, placeholder: "My New Pipeline", class: "form-control" %>
</div>
</div>
<div class="row mb-2">
<%= textarea form, :stages, class: "form-control", rows: 15, style: "font-family: monospace;" %>
</div>
<div class="row mb-2">
<div class="col-sm-10">
<%= submit "Create Pipeline", class: "btn btn-primary" %>
</div>
</div>
<% end %>