|
|
|
@ -45,7 +45,7 @@ See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
</section> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<% if project.new_record? %> |
|
|
|
|
<% if project.persisted? %> |
|
|
|
|
<section class="form--section"> |
|
|
|
|
<%= render partial: "projects/form/modules", locals: { form: f } %> |
|
|
|
|
</section> |
|
|
|
@ -53,14 +53,14 @@ See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
<%= javascript_tag 'observeProjectModules();' %> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<% if (project.new_record? || project.module_enabled?('work_package_tracking')) && renderTypes %> |
|
|
|
|
<% if (project.persisted? && project.module_enabled?('work_package_tracking')) && renderTypes %> |
|
|
|
|
<section class="form--section"> |
|
|
|
|
<%= render partial: 'projects/form/types', |
|
|
|
|
locals: { f: f, project: project } %> |
|
|
|
|
</section> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<% if project.new_record? %> |
|
|
|
|
<% if project.persisted? %> |
|
|
|
|
<section class="form--section"> |
|
|
|
|
<%= render partial: 'projects/form/custom_fields', |
|
|
|
|
locals: { |
|
|
|
|