Sha256: 5fb8586224f06442cd691da34e6ca6b206f3d7c9e62b862bce13d0f5ec91148e

Contents?: true

Size: 271 Bytes

Versions: 13

Compression:

Stored size: 271 Bytes

Contents

- invalid_rules = @event_rules.select{|r| r.errors.any? }
- if invalid_rules.any?
  There were (#{invalid_rules.size}) invalid rules:
  %br
  - invalid_rules.each_with_index do |rule, i|
    %strong= (i + 1).to_s << "."
    = rule.errors.full_messages.join(", ")
    %br

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ffcrm_cloudfuji-0.4.1 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.3.1 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.3.0 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.2.11 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.2.10 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.2.9 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.2.8 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.2.7 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.2.6 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.2.5 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.2.4 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.2.3 app/views/admin/event_rules/_errors.html.haml
ffcrm_cloudfuji-0.2.2 app/views/admin/event_rules/_errors.html.haml