Tweaked the feed stylesheet.
[feedcatcher.git] / app / views / feed / show.html.erb
index 374ee872403ce14a7e8dee5dd9d8cf3f62e67839..90045f7462c7ba44c89978453e850441d69bf4c9 100644 (file)
@@ -1,4 +1,13 @@
-<h1>Contents of feed <%= params[:id] %></h1>
+<h1>Contents of <%= h params[:feed_name] %></h1>
+<p><%= link_to("List of all feeds", index_path) %></p>
+
+<%= form_tag update_path do %>
+  <p>Set feed <%= text_field_tag :feed_name, h(params[:feed_name]), :size => 20 %>
+    to include <%= text_field_tag :title, '', :size => 30 %>
+    containing  <%= text_field_tag :description, '', :size => 50 %>
+    <%= submit_tag 'Update' %></p>
+<% end %>
+
 <dl>
   <% for item in @feed_items %>
     <dt><%= h item.title %></dt>