Sha256: aa93e0f7c2d9fca1752cde97bbfd94396dcdf7c29d246fbaba3f3b5aa33afe51
Contents?: true
Size: 387 Bytes
Versions: 11
Compression:
Stored size: 387 Bytes
Contents
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
Version data entries
11 entries across 11 versions & 1 rubygems