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

28 lines
985 B
Elixir
Raw Normal View History

2019-07-20 23:08:56 +00:00
<h2>Feed Pipeline</h2>
<%= form_for @changeset, Routes.pipeline_path(@conn, :create, @feed.id), fn f -> %>
<div class="form-group row">
<label class="col-sm-2 col-form-label" for="module_name">Module Name</label>
<div class="col-sm-10">
<%= text_input f, :module_name, placeholder: "Frenzy.Pipeline.FilterStage", class: "form-control" %>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label" for="index">Index</label>
<div class="col-sm-10">
<%= number_input f, :index, class: "form-control" %>
2019-07-20 23:08:56 +00:00
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label" for="options">Options</label>
<div class="col-sm-10">
<%= textarea f, :options, class: "form-control", rows: 15, style: "font-family: monospace;" %>
2019-07-20 23:08:56 +00:00
</div>
</div>
<div class="form-group row">
<div class="col-sm-10">
<%= submit "Create Stage", class: "btn btn-primary" %>
</div>
</div>
<% end %>