Skip to content

Commit

Permalink
more form updates
Browse files Browse the repository at this point in the history
  • Loading branch information
klaustopher committed Dec 5, 2024
1 parent 311f7e5 commit 6015304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/costs/app/components/time_entries/time_entry_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ class TimeEntryForm < ApplicationForm
}
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
Expand Down

0 comments on commit 6015304

Please sign in to comment.