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.
7 lines
238 B
7 lines
238 B
%form{ action: '/', method: "POST" }
|
|
%input{ type: "text", name: "task[name]" }
|
|
%input.button{ type: "submit", value: "New Task >>" }
|
|
%h2 My Tasks
|
|
%ul.tasks
|
|
- @tasks.each do |task|
|
|
= render(:haml, :task, locals: { task: task })
|