Nested routes, Listed tasks associated with projects
This commit is contained in:
17
app/views/projects/new.html.erb
Normal file
17
app/views/projects/new.html.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
<h1>New Project</h1>
|
||||
|
||||
<%= form_with model: @project do |form| %>
|
||||
<div>
|
||||
<%= form.label :project_name %><br>
|
||||
<%= form.text_field :project_name %>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= form.label :description %><br>
|
||||
<%= form.text_area :description %>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<%= form.submit %>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user