summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/index.haml6
-rw-r--r--views/layout.haml1
2 files changed, 5 insertions, 2 deletions
diff --git a/views/index.haml b/views/index.haml
index 51e4781..b9d78e7 100644
--- a/views/index.haml
+++ b/views/index.haml
@@ -10,5 +10,7 @@
%input{:type => 'submit', :value => 'Upload'}
%h3 Files
-- @files.each do |file|
- = "<a href='files/#{file}'>#{file}</a>"
+%ul
+ - @files.each do |file|
+ %li= "<a href='files/#{file}'>#{file}</a>"
+
diff --git a/views/layout.haml b/views/layout.haml
index 1e37026..d8eb52c 100644
--- a/views/layout.haml
+++ b/views/layout.haml
@@ -6,3 +6,4 @@
%meta{:content => 'text/html; charset=utf-8', :'http-equiv' => 'Content-Type'}
%body
= yield
+