X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Ffeed%2Fshow.html.erb;h=a491835a6b4bdbcb9f5aff4798d7dc6a759d7c27;hb=0c831f9107670526c653c82f182b0b6983f49c31;hp=9c5180a91a41989e8db6d94ce346b5ba10ebb8d9;hpb=87b29f4f401626c3b21df387cf7cd75677ea56cf;p=feedcatcher.git diff --git a/app/views/feed/show.html.erb b/app/views/feed/show.html.erb index 9c5180a..a491835 100644 --- a/app/views/feed/show.html.erb +++ b/app/views/feed/show.html.erb @@ -1,11 +1,11 @@

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

-

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

+

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

-<% form_for :feed_item, :url => update_url(params[:feed_name]) do |form| %> -

Set feed <%= form.text_field :feed_name, :size => 20, :value => h(params[:feed_name]) %> - to include <%= form.text_field :title, :size => 30 %> - containing <%= form.text_field :description, :size => 50 %> - <%= submit_tag %>

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

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