Sha256: f255306511c2a5e7e1390b39d83cd94d01becf43d6da0b8ac502889435fca9d9

Contents?: true

Size: 422 Bytes

Versions: 9

Compression:

Stored size: 422 Bytes

Contents

- if notice
  .alert.alert-success
    button.close data-dismiss="alert" ×
    p= notice
- if alert
  .alert.alert-danger
    button.close data-dismiss="alert" ×
    p= alert
    - instance_variables.select do |sym|
      - obj = instance_variable_get sym
      - if obj.is_a?(ActiveRecord::Base) && obj.errors.present?
        ul
          - obj.errors.full_messages.each do |message|
            li= message

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
webhooker-0.5.0 app/views/layouts/webhooker/_messages.html.slim
webhooker-0.4.0 app/views/layouts/webhooker/_messages.html.slim
webhooker-0.3.0 app/views/layouts/webhooker/_messages.html.slim
webhooker-0.2.0 app/views/layouts/webhooker/_messages.html.slim
webhooker-0.1.2 app/views/layouts/webhooker/_messages.html.slim
webhooker-0.1.1 app/views/layouts/webhooker/_messages.html.slim
webhooker-0.1.0 app/views/layouts/webhooker/_messages.html.slim
webhooker-0.0.2 app/views/layouts/webhooker/_messages.html.slim
webhooker-0.0.1 app/views/layouts/webhooker/_messages.html.slim