collab/app/views/projects/edit.html.erb
2010-03-04 01:22:45 -05:00

16 lines
282 B
Plaintext

<h1>Editing project</h1>
<% form_for(@project) do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name %><br />
<%= f.text_field :name %>
</p>
<p>
<%= f.submit 'Update' %>
</p>
<% end %>
<%= link_to 'Show', @project %> |
<%= link_to 'Back', projects_path %>