mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 01:26:22 +00:00
21 lines
502 B
Text
21 lines
502 B
Text
%h1= @hi
|
|
|
|
= sanitize_markdown @explanation, tags: %w[p a strong em]
|
|
|
|
%table
|
|
%thead
|
|
%tr
|
|
- @headers.each do |header|
|
|
%th= header
|
|
%tbody
|
|
- @table.each do |row|
|
|
- row[:urls].each do |url|
|
|
%tr
|
|
%td= row[:title]
|
|
%td= row[:status]
|
|
%td= link_to_if url.present?, url, url
|
|
%td
|
|
%time{ datetime: row[:seconds][:machine] }= row[:seconds][:human]
|
|
%td= row[:size]
|
|
|
|
= sanitize_markdown @help, tags: %w[p a strong em]
|