From 4dd5e0982050ae92a9a37cb62e606b2807a85c27 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Thu, 29 Mar 2018 20:08:41 +0200 Subject: Embed database migrations - switch from goose to github.com/rubenv/sql-migrate - move assets (static, templates, migrations) to boardvoting package - add generated boardvoting/assets.go - remove unused static files from static directory - add package db with db migration configuration --- boardvoting/templates/motion.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 boardvoting/templates/motion.html (limited to 'boardvoting/templates/motion.html') diff --git a/boardvoting/templates/motion.html b/boardvoting/templates/motion.html new file mode 100644 index 0000000..8fc7530 --- /dev/null +++ b/boardvoting/templates/motion.html @@ -0,0 +1,19 @@ +{{ template "header" . }} +{{ $voter := .Voter }} +
+
+ +
+
+{{ with .Decision }} +
+
+ {{ template "motion_fragment" . }} + {{ if $voter }}{{ template "motion_actions" . }}{{ end }} +
+
+{{ end}} +{{ template "footer" . }} \ No newline at end of file -- cgit v1.2.1