Sha256: c1c665989d68e400c99113edeb29764aa7315a76c5932bfb1636820328a62ba1
Contents?: true
Size: 907 Bytes
Versions: 7
Compression:
Stored size: 907 Bytes
Contents
- mentorship_cycle = mentorship_registration.mentorship_cycle - raise('expected a mentorship cycle') unless mentorship_cycle.present? - url = (mentorship_registration.persisted? ? effective_mentorships.mentorship_cycle_mentorship_registration_path(mentorship_cycle, mentorship_registration) : effective_mentorships.mentorship_cycle_mentorship_registrations_path(mentorship_cycle, mentorship_registration)) %h1= et('effective_mentorships.name') - if mentorship_registration.persisted? && mentorship_registration.opt_in? - if mentorship_registration.mentorship_cycle.rich_text_group_content.present? = card do = mentorship_registration.mentorship_cycle.rich_text_group_content = card do = effective_form_with(model: mentorship_registration, url: url) do |f| = f.hidden_field :user_id, value: current_user.id = render('effective/mentorship_registrations/fields', f: f) = f.submit
Version data entries
7 entries across 7 versions & 1 rubygems