Sha256: 3b0543167045ada3ec150b08dc3a1191812f63abde47dc1d621f082dc16f9238

Contents?: true

Size: 360 Bytes

Versions: 134

Compression:

Stored size: 360 Bytes

Contents

- if object.model.errors.any?
  - messages = (object.errors.full_messages + object.model.errors.full_messages).uniq
  .alert.alert-dismissible.alert-danger
    %h4= t('.some_errors_was_found')
    %ul
      - messages.each do |message|
        %li= message
- if params[:message]
  .alert.alert-dismissible.alert-info
    %h4= t("messages.#{params[:message]}")

Version data entries

134 entries across 134 versions & 2 rubygems

Version Path
tramway-core-1.13.1.1 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.13.1 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.13.0.2 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.13.0.1 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.13 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.12.1 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.12.0.2 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.12.0.1 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.12 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.11.2.1 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.11.2 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.11.1 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.11 app/views/tramway/core/shared/_messages.html.haml
tramway-core-1.10.3.1 app/views/tramway/core/shared/_messages.html.haml