Skip to content

Commit b81ef74

Browse files
committed
Make it easier to select the correct person as author by using the person select option title method
1 parent fdba76f commit b81ef74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/better_together/pages/_form.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
<%= form.collection_select :author_ids,
133133
BetterTogether::Person.all,
134134
:id,
135-
:name,
135+
:select_option_title,
136136
{},
137137
{ multiple: true,
138138
class: "form-select#{' is-invalid' if page.errors[:author_ids].any?}",

0 commit comments

Comments
 (0)