<h1>Editing bookmark</h1>

<%= form_for @bookmark, :action => 'update' do |f| %>
  <p>
    <%= label_tag 'Title' %><br/>
    <%= f.text_field :title %><br/><br/>
    <%= label_tag 'Url' %><br/>
    <%= f.text_field :url %><br/><br/>
    <%= label_tag 'Description' %><br/>
    <%= f.text_area :description %><br/>
  </p>
  <p>
    <%= f.submit 'Update' %> |
	<%= link_to 'Back', :action => 'list', :id => @bookmark.topic_id %>
  </p>
<% end %>
<h1>Editing bookmark</h1>

<%= form_for @bookmark, :action => 'update' do |f| %>
  <p>
    <%= label_tag 'Title' %><br/>
    <%= f.text_field :title, :required => true %><br/><br/>
    <%= label_tag 'Url' %><br/>
    <%= f.text_field :url, :required => true %><br/><br/>
    <%= label_tag 'Description' %><br/>
    <%= f.text_area :description, :required => true %><br/>
  </p>
  <p>
    <%= f.submit 'Update' %> |
	<%= link_to 'Back', :action => 'list', :id => @bookmark.topic_id %>
  </p>
<% end %>
Check if all fields when editing bookmark are present
Check if all fields when editing bookmark are present
