Edit Collection Metadata: <%= @feed.title %>

<%= output_errors('', {:class => 'help-box'}, @feed) %> <%= form_for :feed, @feed, :url => feed_path(@feed), :html => {:method => :put, :onsubmit => "return validate()"} do |f| %>

Collection Title
<%= f.text_field :title, :size => 100 %>

Collection Short Title (this will be appended to resource titles)
<%= f.text_field :short_title, {:maxlength => 30, :size => 30} %>

Repository Title
<%= f.text_field :harvested_from_title, :size => 100 %>

Repository Short Title
<%= f.text_field :harvested_from_short_title, {:maxlength => 30, :size => 30} %>

Address of the Collection Metadata
<%= f.text_field :uri, :size => 100 %>

Address of the Collection Home Page
<%= f.text_field :display_uri, :size => 100 %>

Type of Metadata:
If you specify OAI, you must specify the full url to the ListRecords request (not just the OAI endpoint)

Description
<%= f.text_field :description, :size => 100 %>

How Often to Harvest the Collection
<%= select :feed, "harvest_interval_hours", [["Once a day", "24"], ["Once a week", "168"], ["Once a month", "672"]] %>

<%= submit_tag "Update Feed" %>

<% end %>