2023-11-22 19:44:28 +00:00
|
|
|
<%= form_with model: @job, id: "job_form" do |f| %>
|
|
|
|
<div class="box tabular">
|
2023-11-16 20:23:09 +00:00
|
|
|
<p>
|
|
|
|
<%= f.label :name %>
|
|
|
|
<%= f.text_field :name %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= f.label :description %>
|
|
|
|
<%= f.text_area :description %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= f.label :starts_on %>
|
|
|
|
<%= f.date_field :starts_on %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= f.label :ends_on %>
|
|
|
|
<%= f.date_field :ends_on %>
|
|
|
|
</p>
|
|
|
|
|
2023-11-21 14:09:51 +00:00
|
|
|
<%= f.hidden_field :project_id, value: @project.id %>
|
2023-11-16 20:23:09 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= f.label :external_project_id %>
|
|
|
|
<%= f.number_field :external_project_id %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= f.label :budget %>
|
|
|
|
<%= f.number_field :budget %>
|
|
|
|
</p>
|
|
|
|
|
2023-11-22 19:44:28 +00:00
|
|
|
</div>
|
|
|
|
<%= f.submit %>
|
|
|
|
<% end %>
|