Sha256: fb7d7f4a1ada5d56a9991bbb528870ca9c51533d93046f08739777178c594946
Contents?: true
Size: 647 Bytes
Versions: 7
Compression:
Stored size: 647 Bytes
Contents
- # Choose ANY member - klass = (f.object.user || current_user).class - ajax_url = (@select2_users_ajax_path || effective_memberships.member_users_membership_select2_ajax_index_path) unless Rails.env.test? = f.hidden_field :user_type, value: klass.name = f.select :user_id, klass.all, ajax_url: ajax_url, label: 'Member', required: true, hint: effective_events_event_registrant_user_hint() - # Choose RELATED ORGANIZATION member -# = f.hidden_field :user_type, value: current_user.class.name -# = f.select :user_id, effective_events_event_registrant_user_collection(f.object), required: true, hint: effective_events_event_registrant_user_hint()
Version data entries
7 entries across 7 versions & 1 rubygems