Sha256: b17a23d4be9bbf3d9a6f545b71f64bf0d0fcc6d75597d7af0a49c85230080977
Contents?: true
Size: 962 Bytes
Versions: 2
Compression:
Stored size: 962 Bytes
Contents
.row .col-md-2 .col-md-8 .card.card-default .card-body %p.description %label User: = entity.user&.email || 'Unknown' %p.description %label IP Address: = entity.ip_address || 'Unknown' %p.description %label Device: = entity.device || 'Unknown' %p.description %label Platform: = entity.platform || 'Unknown' %p.description %label Browser: = entity.browser || 'Unknown' %p.description %label Last Seen: = entity.updated_at.strftime('%F %T') .row .col-md-6 %a.btn.btn-secondary{ href: "#{base_path}/#{entity.display_id}/edit" } Edit .col-md-6.text-right - if policy(entity).delete? = delete_form_tag("#{base_path}/#{entity.display_id}") do %button.btn.btn-warning{ type: 'submit' } Delete .col-md-2
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ditty-0.9.1 | views/user_login_traits/display.haml |
ditty-0.9.0 | views/user_login_traits/display.haml |