From d2f0823c983c6f77bb5474fb6546e16a8acd245b Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 3 Apr 2016 13:34:41 -0400 Subject: update post, pag,e and project edit dialogs --- src/guff/views/html/test/auth.cr | 64 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) (limited to 'src/guff/views/html/test') diff --git a/src/guff/views/html/test/auth.cr b/src/guff/views/html/test/auth.cr index 60bafb3..59e151f 100644 --- a/src/guff/views/html/test/auth.cr +++ b/src/guff/views/html/test/auth.cr @@ -38,6 +38,66 @@ class Guff::TestAuthHTMLView ", + + new_post_button: " + + + New Post + + + + + + + + ", }) def self.run(models, context : HTTP::Server::Context) @@ -82,5 +142,9 @@ class Guff::TestAuthHTMLView }.join end + def get_new_post_button + TEMPLATES[:new_post_button].run + end + ECR.def_to_s("./src/guff/views/ecrs/test/auth.ecr") end -- cgit v1.2.3