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