1
0
Fork 0
dokkan-data-rails/app/views/links/index.html.slim

25 lines
649 B
Text

.row
.col-md-12
.pull-right
= link_to 'New Link', new_link_path, class: 'btn btn-primary'
.row
.col-md-12
table.table.table-striped.table-hover
thead
tr
th Name
th Description
th Actions
tbody
- @links.each do |link|
tr
td= link.name
td= link.description
td
= link_to glyph('edit', classes: 'control-icon'), edit_link_path(link)
= link_to glyph('trash', classes: 'control-icon'), link_path(link), method: :delete
.row
.col-md-12
= link_to 'New Link', new_link_path, class: 'btn btn-primary'