Sha256: e71fea34993b62fd84e371cc038c75f46d31cb5ea42ebf85c66d3f8a2fcb3eb6

Contents?: true

Size: 578 Bytes

Versions: 3

Compression:

Stored size: 578 Bytes

Contents

= effective_form_with(model: [:admin, mentorship_group_user], engine: true) do |f|
  = f.select :mentorship_cycle_id, Effective::MentorshipCycle.sorted.all
  = f.select :mentorship_group_id, EffectiveMentorships.MentorshipGroup.sorted.all

  = f.select :mentorship_role, mentorship_roles_collection(), required: true, inline: true

  = f.hidden_field :user_type, value: current_user.class.name

  - ajax_url = (effective_resources.users_effective_ajax_index_path) unless Rails.env.test?
  = f.select :user_id, current_user.class.all, ajax_url: ajax_url

  = effective_submit(f)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
effective_mentorships-0.2.1 app/views/admin/mentorship_group_users/_form.html.haml
effective_mentorships-0.2.0 app/views/admin/mentorship_group_users/_form.html.haml
effective_mentorships-0.1.0 app/views/admin/mentorship_group_users/_form.html.haml