Sha256: bf74baa332ae7be933a736bf5c6138c37f3a332549b527519168f2a19bfccd4f

Contents?: true

Size: 297 Bytes

Versions: 45

Compression:

Stored size: 297 Bytes

Contents

- if f.object.errors.any?
  .error-msg{ class: attrs[:class] ||= nil}
    .error-msg__badge Ошибок: #{f.object.errors.count}
    %ul.error-msg__list
      - f.object.errors.each do |attribute, msg|
        %li
          %strong= f.object.class.human_attribute_name(attribute)
          = msg

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
redde-0.4.4 app/views/admin/redde/_validate.haml
redde-0.4.3 app/views/admin/redde/_validate.haml
redde-0.4.2 app/views/admin/redde/_validate.haml
redde-0.4.1 app/views/admin/redde/_validate.haml
redde-0.4.0 app/views/admin/redde/_validate.haml
redde-0.3.39 app/views/admin/redde/_validate.haml
redde-0.3.38 app/views/admin/redde/_validate.haml
redde-0.3.37 app/views/admin/redde/_validate.haml
redde-0.3.36 app/views/admin/redde/_validate.haml
redde-0.3.35 app/views/admin/redde/_validate.haml
redde-0.3.34 app/views/admin/redde/_validate.haml
redde-0.3.33 app/views/admin/redde/_validate.haml
redde-0.3.32 app/views/admin/redde/_validate.haml
redde-0.3.31 app/views/admin/redde/_validate.haml
redde-0.3.30 app/views/admin/redde/_validate.haml
redde-0.3.29 app/views/admin/redde/_validate.haml
redde-0.3.28 app/views/admin/redde/_validate.haml
redde-0.3.27 app/views/admin/redde/_validate.haml
redde-0.3.26 app/views/admin/redde/_validate.haml
redde-0.3.25 app/views/admin/redde/_validate.haml