Skip to content

Commit

Permalink
support multi-word labels in serendipitous
Browse files Browse the repository at this point in the history
  • Loading branch information
drusepth committed Apr 28, 2023
1 parent aa2fb8c commit ac8ce6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/cards/serendipitous/_content_question.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<i class="material-icons tooltipped" data-tooltip="Answer this randomly-generated question to have it automatically saved to your <%= content.name %> <%= content.page_type.downcase %> page.">help</i>
<%=
t(
"serendipitous_questions.attributes.#{content.page_type.downcase}.#{field.label.downcase}",
"serendipitous_questions.attributes.#{content.page_type.downcase}.#{field.label.parameterize.underscore}",
name: content.name,
default: "What is #{content.name}'s #{field.label.downcase}?"
)
Expand Down

0 comments on commit ac8ce6a

Please sign in to comment.