ref: master
plugins/custom_forms/lib/custom_forms_plugin/admission_survey.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
class CustomFormsPlugin::AdmissionSurvey < CustomFormsPlugin::MembershipSurvey def perform super requestor.add_member(target) end def title _("Admission survey") end def information {:message => _('%{requestor} wants you to fill in some information before joining.')} end def target_notification_message _('Before joining %{requestor}, the administrators of this organization wants you to fill in some further information.') % {:requestor => requestor.name} end def target_notification_description _('%{requestor} wants you to fill in some further information.') % {:requestor => requestor.name} end end |