15 lines
244 B
Plaintext
15 lines
244 B
Plaintext
|
<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 %>
|