~matteo-collina/+junk/gipieffe

« back to all changes in this revision

Viewing changes to app/views/projects/new.html.erb

  • Committer: Matteo Collina
  • Date: 2008-11-01 01:20:50 UTC
  • Revision ID: matteo.collina@gmail.com-20081101012050-457s9m6l4xrz48os
 * Created scaffold for resource 'Project'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<h1>New project</h1>
 
2
 
 
3
<% form_for(@project) do |f| %>
 
4
  <%= f.error_messages %>
 
5
 
 
6
  <p>
 
7
    <%= f.label :name %><br />
 
8
    <%= f.text_field :name %>
 
9
  </p>
 
10
  <p>
 
11
    <%= f.label :description %><br />
 
12
    <%= f.text_area :description %>
 
13
  </p>
 
14
  <p>
 
15
    <%= f.label :year %><br />
 
16
    <%= f.text_field :year %>
 
17
  </p>
 
18
  <p>
 
19
    <%= f.submit "Create" %>
 
20
  </p>
 
21
<% end %>
 
22
 
 
23
<%= link_to 'Back', projects_path %>