|
|
|
@ -102,9 +102,7 @@ See COPYRIGHT and LICENSE files for more details. |
|
|
|
|
options_from_collection_for_select(@project.categories, :id, :name)) %> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<% end %> |
|
|
|
|
<% #TODO: allow editing versions when multiple projects %> |
|
|
|
|
<% if @project %> |
|
|
|
|
<% #TODO: allow editing versions when multiple projects %> |
|
|
|
|
<div class="form--field"> |
|
|
|
|
<%= styled_label_tag :work_package_version_id, WorkPackage.human_attribute_name(:version) %> |
|
|
|
|
<div class="form--field-container"> |
|
|
|
@ -113,8 +111,6 @@ See COPYRIGHT and LICENSE files for more details. |
|
|
|
|
version_options_for_select(@project.shared_versions.with_status_open.order_by_semver_name)) %> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<% end %> |
|
|
|
|
<% if @project %> |
|
|
|
|
<div class="form--field"> |
|
|
|
|
<%= styled_label_tag :work_package_budget_id, Budget.model_name.human %> |
|
|
|
|
<div class="form--field-container"> |
|
|
|
|