+++ /dev/null
-<%= form_for @changeset, @action, fn f -> %>
- <%= if @changeset.action do %>
- <div class="alert alert-danger">
- <p>Oops, something went wrong! Please check the errors below.</p>
- </div>
- <% end %>
-
- <div class="form-group">
- <%= label f, :quadrant, class: "control-label" %>
- <%= select f, :quadrant, ["Tool": 1, "Technique": 2, "Platform": 3, "Language": 4], class: "form-control" %>
- <%= error_tag f, :quadrant %>
- </div>
-
- <div class="form-group">
- <%= label f, :cycle, class: "control-label" %>
- <%= select f, :cycle, ["Adapt": 1, "Trial": 2, "Assess": 3, "Hold": 4], class: "form-control" %>
- <%= error_tag f, :cycle %>
- </div>
-
- <div class="form-group">
- <%= label f, :is_new, class: "control-label" %>
- <%= checkbox f, :is_new, class: "form-control" %>
- <%= error_tag f, :is_new %>
- </div>
-
- <div class="form-group">
- <%= label f, :name, class: "control-label" %>
- <%= text_input f, :name, class: "form-control" %>
- <%= error_tag f, :name %>
- </div>
-
- <div class="form-group">
- <%= label f, :description, class: "control-label" %>
- <%= text_input f, :description, class: "form-control" %>
- <%= error_tag f, :description %>
- </div>
-
- <div class="form-group">
- <%= submit "Submit", class: "btn btn-primary" %>
- </div>
-<% end %>