You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
218 B
8 lines
218 B
%h2 My Tasks
|
|
%form{ action: '/', method: "POST" }
|
|
%input{ type: "text", name: "task" }
|
|
%input.button{ type: "submit", value: "New Task >>" }
|
|
%h2 My Tasks
|
|
%ul.tasks
|
|
- @tasks.each do |task|
|
|
%li.task= task.name
|