From fddd4596c03f4dd678229574787cb0e7051554a5 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 13 Mar 2016 00:54:07 -0500 Subject: add views/{html,ecrs}/test --- src/guff/views/ecrs/test/blog.ecr | 150 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 src/guff/views/ecrs/test/blog.ecr (limited to 'src/guff/views/ecrs/test') diff --git a/src/guff/views/ecrs/test/blog.ecr b/src/guff/views/ecrs/test/blog.ecr new file mode 100644 index 0000000..1ce4347 --- /dev/null +++ b/src/guff/views/ecrs/test/blog.ecr @@ -0,0 +1,150 @@ +

<%= h(TITLE) %>

+ + + + <% POST_SETS.each do |set| %> + + <% end %> + + + + <% POST_SETS.each do |set| %> + + <% end %> + +
+

<%= + h(set_name(set)) + %>

+
+ + + + + + + + + + + + <% posts(set[:id] as String).rows.each do |post| %> + + + + + + + + + + <% (set[:actions] as Array(Hash(Symbol, String))).each do |a| %> + + <% end %> + + <% end %> +
IDCreated AtNameBodyActions
<%= + h(post.row["post_id"].to_s) + %><%= + h(post.row["created_at"].to_s) + %><%= + h(post.row["name"].to_s) + %><%= + post.row["body"].to_s + %> +
+ + + + + +
+
+
+ +
+
+
+ Add Post +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ + +
+
+
-- cgit v1.2.3