Skip to content
Snippets Groups Projects
Commit b6818507 authored by Raphael's avatar Raphael
Browse files

Get rid of warning/error on invites/_new partial

parent 41a0718f
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
= invite.label :email
= invite.text_field :email
To
- if @aspect == :all
- unless @aspect.is_a? Aspect
= invite.select(:aspects, @aspects_dropdown_array)
- else
= invite.select(:aspects, @aspects_dropdown_array, :selected => @aspect.id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment