Redmine-Jobs/app/views/jobs/_form.html.erb

38 lines
683 B
Plaintext
Raw Normal View History

2023-11-16 20:23:09 +00:00
<div class="box tabular">
<%= form_with model: @job, id: "job_form" do |f| %>
<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>
<%= f.submit %>
<% end %>
</div>