Sha256: d374e26f4ae078f07ae117213e35fc864f926af1b2c48619945317891b426764
Contents?: true
Size: 441 Bytes
Versions: 52
Compression:
Stored size: 441 Bytes
Contents
- if service.errors.any? = bootstrap_alert(context: :danger, class: 'error-explanation') do - message_default = t('errors.template.header', count: service.errors.count, model: service.class.model_name.human) .error-heading= t('errors.template.services.header', count: service.errors.count, model: service.class.model_name.human, default: message_default) %ul - service.errors.full_messages.each do |msg| %li= msg
Version data entries
52 entries across 52 versions & 2 rubygems