Sha256: cef0a1691e5ec6524d4fb8b3d5c7189fe66f123783f2360d1721b9dac371f976
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
.container-fluid %h1 Listing blocks .table_responsive %table.table.table-hover.table-striped.sortable-theme-minimal{data: {sortable: ''}} %thead %tr %th ID %th{data:{sorted: 'true', sorted_direction: 'ascending' }} Name %th Width %th Height %th Depth %th{data:{sortable: 'false'}} %tbody - @blocks.each do |block| %tr %td = block.id %td{data:{value: block.name.gsub(' ', '').downcase, entity: 'Block', action: 'show', id: (block.id) }} = link_to block.name, '#' %td= block.width %td= block.height %td= block.depth %td = link_to '#', :class => 'btn-sm btn-primary', data: { entity: 'Block', action: 'update', id: (block.id) } do %i.fa.fa-edit EDIT %hr %p = link_to '#', :class => 'btn btn-success', data: { entity: 'Block', action: 'create' } do %i.fa.fa-plus = 'New Block'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bootbox_crud-0.1.1.7 | test/dummy/app/views/blocks/index.html.haml |