<%= form_for @changeset, @action, fn f -> %> <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

<% end %>
<%= label f, :quadrant, class: "control-label" %> <%= select f, :quadrant, Enum.with_index(TechRadarEditor.RadarDataPoint.quadrants,1), class: "form-control" %> <%= error_tag f, :quadrant %>
<%= label f, :cycle, class: "control-label" %> <%= select f, :cycle, Enum.with_index(TechRadarEditor.RadarDataPoint.cycles,1), class: "form-control" %> <%= error_tag f, :cycle %>
<%= label f, :is_new, class: "control-label" %> <%= checkbox f, :is_new, class: "form-control" %> <%= error_tag f, :is_new %>
<%= label f, :name, class: "control-label" %> <%= text_input f, :name, class: "form-control" %> <%= error_tag f, :name %>
<%= label f, :description, class: "control-label" %> <%= text_input f, :description, class: "form-control" %> <%= error_tag f, :description %>
<%= submit "Submit", class: "btn btn-primary" %>
<% end %>