Sha256: 8116c3d6f6ee854d6e2609117a1a0b16a1a1d48347d62dfc3b33a828b896d09a

Contents?: true

Size: 412 Bytes

Versions: 4

Compression:

Stored size: 412 Bytes

Contents

b.text-secondary = update_relation_class(update_attrs)
br/
- if update_attrs[:attrs] == :deleted
  = t('loggable.activity.deleted') 
- else
  - update_attrs[:attrs].each do |attr|
    - attr.each do |key, from_to|
      - next if from_to.nil?
      i = key
      br/
      = "from: #{from_to[:from].nil? ? "Empty" : from_to[:from]}"
      br/
      = "to: #{from_to[:to].nil? ? "Empty" : from_to[:to]}"
      br/

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
loggable_activity-0.1.56 lib/generators/loggable_activity/templates/views/loggable_activity/templates/shared/_update_attrs.html.slim
loggable_activity-0.1.55 lib/generators/loggable_activity/templates/views/loggable_activity/templates/shared/_update_attrs.html.slim
loggable_activity-0.1.54 lib/generators/loggable_activity/templates/views/loggable_activity/templates/shared/_update_attrs.html.slim
loggable_activity-0.1.53 lib/generators/loggable_activity/templates/views/loggable_activity/templates/shared/_update_attrs.html.slim