public
anonymous / index.slim
Created

index.slim

  • Download Gist
index.slim
1 2 3 4 5 6 7
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|
== slim :task, locals: { task: task }

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.