<h1>Editing project</h1>

<%= error_messages_for :project %>

<% form_for(:project, :url => project_path(@project), :html => { :method => :put }) do |f| %>
  <p>
    <b>Title</b><br />
    <%= f.text_field :title %>
  </p>

  <p>
    <%= submit_tag "Update" %>
  </p>
<% end %>

<%= link_to 'Show', project_path(@project) %> |
<%= link_to 'Back', projects_path %>