Module: Admin::Form::Email

Extended by:
ActiveSupport::Concern
Included in:
Form::Email
Defined in:
app/models/admin/form/email.rb

Instance Method Summary collapse

Instance Method Details

#rails_admin_labelObject



32
33
34
35
36
37
38
# File 'app/models/admin/form/email.rb', line 32

def rails_admin_label
  if with_email?
    '<i class="icon-ok"></i>'
  else
    '<i>-</i>'
  end.html_safe
end