25 lines
591 B
Plaintext
25 lines
591 B
Plaintext
extends layout
|
|
|
|
block content
|
|
h1= title
|
|
|
|
table(id="example", class="table table-striped table-bordered", cellspacing="0", width="100%")
|
|
thead
|
|
tr
|
|
th Series
|
|
th Year
|
|
tbody
|
|
each show, i in shows
|
|
tr
|
|
td
|
|
a(href="/pwd/show/#{show.id}/#{channel_id}")= show.title
|
|
td= show.year
|
|
script.
|
|
$(document).ready(function() {
|
|
$('#example').DataTable({
|
|
"language": {
|
|
"url": "//cdn.datatables.net/plug-ins/1.10.8/i18n/English.json"
|
|
}
|
|
});
|
|
});
|