Tweaked the feed stylesheet.
[feedcatcher.git] / app / views / feed / show.html.erb
index 739584cda210b9f511d97ef9ef0ef7a16f195792..90045f7462c7ba44c89978453e850441d69bf4c9 100644 (file)
@@ -1,14 +1,13 @@
-<h1>Contents of feed <%= h params[:feed_name] %></h1>
-<p><%= link_to("List of all feeds", index_url) %></p>
+<h1>Contents of <%= h params[:feed_name] %></h1>
+<p><%= link_to("List of all feeds", index_path) %></p>
 
-<% form_tag :action => 'update' do %>
-  <p>Set feed <%= text_field_tag :new_feed_name, h(params[:feed_name]), :size => 20 %>
+<%= 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>