collab/app/views/projects/new.html.erb

15 lines
244 B
Plaintext
Raw Normal View History

2010-03-04 06:22:45 +00:00
<h1>New project</h1>
<% form_for(@project) do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name %><br />
<%= f.text_field :name %>
</p>
<p>
<%= f.submit 'Create' %>
</p>
<% end %>
<%= link_to 'Back', projects_path %>