From 9909d82ed9f89f1b72d5bead21e93bf2f2039c35 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 5 Jun 2014 22:50:33 +0300 Subject: Switched to sqlite --- views/edit_object.erb | 7 +++++++ views/index.erb | 4 ++++ views/view_object.erb | 3 +++ 3 files changed, 14 insertions(+) create mode 100644 views/edit_object.erb create mode 100644 views/view_object.erb (limited to 'views') diff --git a/views/edit_object.erb b/views/edit_object.erb new file mode 100644 index 0000000..aa44acc --- /dev/null +++ b/views/edit_object.erb @@ -0,0 +1,7 @@ +
+
+ + +
+ +
diff --git a/views/index.erb b/views/index.erb index 11ef5a6..551ef06 100644 --- a/views/index.erb +++ b/views/index.erb @@ -1 +1,5 @@ +<% for item in @data %> + <%= item.title %> +<% end %> + Create diff --git a/views/view_object.erb b/views/view_object.erb new file mode 100644 index 0000000..20a58d7 --- /dev/null +++ b/views/view_object.erb @@ -0,0 +1,3 @@ +<%= @data.title %> + +Edit -- cgit v1.2.3