Create a gist now

Instantly share code, notes, and snippets.

anonymous /index.slim
Created May 3, 2012

What would you like to do?
form action="/" method="POST"
input type="text" name="task[name]"
input.button type="submit" value="New Task >>"
h2 My Tasks
- @tasks.each do |task|
== slim :task, locals: { task: task }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment