%form{ action: '/new/list', method: "POST" } %input{ type: "text", name: "list[name]" } %input.button{ type: "submit", value: "+ List" } %ul.lists - @lists.each do |list| = render(:haml, :list, locals: { list: list })