%= form_with model: @job, url: form_target, id: "job_form" do |f| %> <%= error_messages_for @job %>
<%= f.label :name %> <%= f.text_field :name %>
<%= f.label :description %> <%= f.text_area :description %>
<%= f.label :starts_on %> <%= f.date_field :starts_on %>
<%= f.label :ends_on %> <%= f.date_field :ends_on %> <%= f.hidden_field :project_id, value: @job.project.id %>
<%= f.label :external_project_id %> <%= f.number_field :external_project_id %>