Skip to content

Commit

Permalink
fix survey select
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed May 1, 2024
1 parent f797801 commit 1fd0249
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
</div>

<div class="row column">
<%= form.select :resource_id, surveys, include_blank: true, label: t(".resource") %>
<%= form.select :resource_id, surveys.map { |survey| [survey[:title], survey[:id]] }, include_blank: true, label: t(".resource") %>
</div>

0 comments on commit 1fd0249

Please sign in to comment.