From f919497c2b590402c3cbd7744097a9bd32b70afd Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 5 Sep 2009 18:08:23 +0200 Subject: added tag resource, widget and auxillary files --- app/views/content/_tags.html.erb | 8 ++++++++ app/views/layouts/application.html.erb | 2 +- app/views/tags/index.html.erb | 2 ++ app/views/tags/show.html.erb | 9 +++++++++ 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 app/views/content/_tags.html.erb create mode 100644 app/views/tags/index.html.erb create mode 100644 app/views/tags/show.html.erb (limited to 'app/views') diff --git a/app/views/content/_tags.html.erb b/app/views/content/_tags.html.erb new file mode 100644 index 0000000..8012796 --- /dev/null +++ b/app/views/content/_tags.html.erb @@ -0,0 +1,8 @@ +
+

Tags

+ +
\ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2496595..69db939 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -23,7 +23,7 @@ <%= yield :layout %>
- + <%= tags %>
diff --git a/app/views/tags/index.html.erb b/app/views/tags/index.html.erb new file mode 100644 index 0000000..19cf908 --- /dev/null +++ b/app/views/tags/index.html.erb @@ -0,0 +1,2 @@ +

Tags#index

+

Find me in app/views/tags/index.html.erb

diff --git a/app/views/tags/show.html.erb b/app/views/tags/show.html.erb new file mode 100644 index 0000000..4012bbf --- /dev/null +++ b/app/views/tags/show.html.erb @@ -0,0 +1,9 @@ +<%= + render( + :partial => 'custom/partials/article', + :collection => @pages, + :as => :page + ) + %> + +<%= will_paginate @pages %> -- cgit v1.3