From 5e0488e021bee2002d70fa05b79bb85490af020b Mon Sep 17 00:00:00 2001 From: hukl Date: Mon, 7 Sep 2009 14:15:24 +0200 Subject: enabling featured articles --- app/views/content/_featured_articles.html.erb | 9 +++++++++ app/views/content/_search.html.erb | 8 ++++++++ app/views/layouts/application.html.erb | 12 ++++-------- 3 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 app/views/content/_featured_articles.html.erb create mode 100644 app/views/content/_search.html.erb (limited to 'app/views') diff --git a/app/views/content/_featured_articles.html.erb b/app/views/content/_featured_articles.html.erb new file mode 100644 index 0000000..08f7624 --- /dev/null +++ b/app/views/content/_featured_articles.html.erb @@ -0,0 +1,9 @@ +
+

Featured

+ +
+ diff --git a/app/views/content/_search.html.erb b/app/views/content/_search.html.erb new file mode 100644 index 0000000..c6029e0 --- /dev/null +++ b/app/views/content/_search.html.erb @@ -0,0 +1,8 @@ + +<% form_tag search_path, :method => 'get' do %> + + + + +<% end %> +
<%= text_field_tag :search_term %><%= image_submit_tag("search_button.png") %>
\ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 0b32673..7a5222d 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -15,18 +15,13 @@ <%= image_tag "header.png" %>
<%= main_menu %> + <%= language_selector %> + <%= calendar %>
@@ -34,6 +29,7 @@
<%= tags %> + <%= featured_articles %>
-- cgit v1.3