Redmine-Jobs/app/views/time_entries/_edit_form_bottom.html.erb

9 lines
277 B
Plaintext
Raw Normal View History

2023-11-21 13:59:43 +00:00
<p>
<%= form.label :job_id %>
<% if @project.nil? %>
<%= form.collection_select :job_id, Job.active, :id, :name, include_blank: true %>
<% else %>
<%= form.collection_select :job_id, Job.active.project_or_parent(@project), :id, :name, include_blank: true %>
<% end %>
</p>