From 512ad067e1f622bed6234336d4bab7c774c4f57c Mon Sep 17 00:00:00 2001 From: James Mason Date: Fri, 16 Mar 2018 12:15:15 -0700 Subject: [PATCH] Simple view for showing a document --- app/views/application/document.haml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/views/application/document.haml diff --git a/app/views/application/document.haml b/app/views/application/document.haml new file mode 100644 index 00000000..39f3632f --- /dev/null +++ b/app/views/application/document.haml @@ -0,0 +1,10 @@ +.container + .row + .col-md-12 + .page-header + %h1= @title + %p.text-muted= @subtitle + + .row + .col-md-12 + = markdown(@content)