Sha256: 80bcc869342531c72bf1cd1321b22c1f6fc8609103ab227f76c2c3c5b55082d8
Contents?: true
Size: 593 Bytes
Versions: 2
Compression:
Stored size: 593 Bytes
Contents
.row .col-md-2 .col-md-8 .card .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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ditty-0.9.1 | lib/ditty/templates/views/display.haml.tt |
ditty-0.9.0 | lib/ditty/templates/views/display.haml.tt |