Sha256: 2222f8a05e526d3a108510ddf8432c98b509f2a596e72ee4561b3d59c8840527
Contents?: true
Size: 613 Bytes
Versions: 3
Compression:
Stored size: 613 Bytes
Contents
.row .col-md-2 .col-md-8 .card.card-default.shadow .card-body <%- columns.each do |col| -%> %p.description %label <%= col.to_s.titleize %>: = entity.<%= col %> <%- end %> .row .col-md-6 - if policy(entity).update? %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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ditty-0.11.1 | lib/ditty/templates/views/display.haml.tt |
ditty-0.10.2 | lib/ditty/templates/views/display.haml.tt |
ditty-0.10.1 | lib/ditty/templates/views/display.haml.tt |