diff options
Diffstat (limited to 'app/views/tasks/new.html.erb')
-rw-r--r-- | app/views/tasks/new.html.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/tasks/new.html.erb b/app/views/tasks/new.html.erb new file mode 100644 index 0000000..e798e0c --- /dev/null +++ b/app/views/tasks/new.html.erb @@ -0,0 +1,5 @@ +<%= form_for @task, url: [@task_list, @task] do |f| %> + <%= f.label :name %> + <%= f.text_field :name %> + <%= f.submit "Create task" %> +<% end %> |