Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

more form updates

Klaus Zandersbe8d1a805843
diff --git a/modules/costs/app/components/time_entries/time_entry_form.rb b/modules/costs/app/components/time_entries/time_entry_form.rb
index c615ac8f57b..fb1e3ebfed1 100644
--- a/modules/costs/app/components/time_entries/time_entry_form.rb
+++ b/modules/costs/app/components/time_entries/time_entry_form.rb
@@ -53,13 +53,13 @@ module TimeEntries
}
end
- f.select_list name: :activity_id, label: TimeEntry.human_attribute_name(:activity) do |list|
+ f.select_list name: :activity_id, label: TimeEntry.human_attribute_name(:activity), include_blank: true do |list|
activities.each do |activity|
list.option(value: activity.id, label: activity.name)
end
end
- f.text_field name: :comments, label: "Comments"
+ f.text_area name: :comments, label: "Comments"
render_custom_fields(form: f)
end