Richard Nienaber 11 жил өмнө
parent
commit
54e6900f2a

+ 7 - 6
frameworks/Ruby/sinatra/views/fortunes.slim

@@ -1,9 +1,10 @@
-== slim :layout
-  table
+table
+  thead
     tr
     tr
       th id
       th id
       th message
       th message
-    - for fortune in @fortunes
-      tr
-        td =fortune.id
-        td =fortune.message
+  tbody
+  - for fortune in @fortunes
+    tr
+      td =fortune.id
+      td =fortune.message