New Project

<%= form_with(model: @project, local: true) do |form| %> <% if @project.errors.any? %>

<%= pluralize(@project.errors.count, "error") %> prohibited this project from being saved:

<% end %>
<%= form.label :name, class: "form-label" %> <%= form.text_field :name, class: "form-control" %>
<%= form.label :enabled, class: "form-label" %>
<%= form.check_box :enabled, class: "form-check-input" %> <%= form.label :enabled, "Enable this project", class: "form-check-label" %>
<%= form.submit "Create Project", class: "btn btn-primary" %> <%= link_to "Cancel", projects_path, class: "btn btn-secondary" %>
<% end %>