Sha256: 7a583fd020879d39dad9490c35abb5943a309c8acb1394b5d3327ab1c54fcf71

Contents?: true

Size: 700 Bytes

Versions: 10

Compression:

Stored size: 700 Bytes

Contents

.panel.panel-default.card
  .panel-heading.card-header
    .row
      .col-md-10
        %p= trash.trashed_to_s
      .col-md-2.text-right
        = link_to 'Restore', effective_trash.restore_trash_path(trash), class: 'btn btn-primary', data: { confirm: 'Restore this item?'}

  .panel-body.card-body
    - if trash.trashed_extra.present?
      %p= trash.trashed_extra

    .row
      .col-sm-6
        %strong Destroyed at:
        = trash.created_at.strftime("%Y-%m-%d %H:%M:%S")
        = '(' + time_ago_in_words(trash.created_at) + ' ago)'

      .col-sm-6
        - if trash.user.present?
          %strong Destroyed by:
          = trash.user.to_s

    %br

    = tableize_hash(trash.details)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
effective_trash-0.4.5 app/views/effective/trash/_trash.html.haml
effective_trash-0.4.4 app/views/effective/trash/_trash.html.haml
effective_trash-0.4.3 app/views/effective/trash/_trash.html.haml
effective_trash-0.4.2 app/views/effective/trash/_trash.html.haml
effective_trash-0.4.1 app/views/effective/trash/_trash.html.haml
effective_trash-0.4.0 app/views/effective/trash/_trash.html.haml
effective_trash-0.3.3 app/views/effective/trash/_trash.html.haml
effective_trash-0.3.2 app/views/effective/trash/_trash.html.haml
effective_trash-0.3.1 app/views/effective/trash/_trash.html.haml
effective_trash-0.3.0 app/views/effective/trash/_trash.html.haml