class <%= name.singularize.classify %> < Alchemy::AjaxForm validates :check_privacy, inclusion: [true, '1'] def notify_subject I18n.translate(:<%= name.singularize.underscore %>_notify, scope: [:ajax_form_mailer, :subjects]) end def notify_user_subject I18n.translate(:<%= name.singularize.underscore %>_user_notify, scope: [:ajax_form_mailer, :subjects]) end end