X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Ffeed%2Fshow.html.erb;h=a491835a6b4bdbcb9f5aff4798d7dc6a759d7c27;hb=0c831f9107670526c653c82f182b0b6983f49c31;hp=739584cda210b9f511d97ef9ef0ef7a16f195792;hpb=acd80c1fc3212b41c0b05a8f5ac2ad7edc990751;p=feedcatcher.git diff --git a/app/views/feed/show.html.erb b/app/views/feed/show.html.erb index 739584c..a491835 100644 --- a/app/views/feed/show.html.erb +++ b/app/views/feed/show.html.erb @@ -1,14 +1,13 @@

Contents of feed <%= h params[:feed_name] %>

-

<%= link_to("List of all feeds", index_url) %>

+

<%= link_to("List of all feeds", index_path) %>

<% form_tag :action => 'update' do %> -

Set feed <%= text_field_tag :new_feed_name, h(params[:feed_name]), :size => 20 %> +

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' %>

<% end %> -
<% for item in @feed_items %>
<%= h item.title %>