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.
10 lines
353 B
10 lines
353 B
%h1 Robot Factory
|
|
%img#waiting{ src:"https://s3.amazonaws.com/daz4126/waiting.gif" }
|
|
%form.build{ action:"/build/robot", method:"POST" }
|
|
%input.button{ type:"submit", value:"Build A Robot!" }
|
|
-if @robots.any?
|
|
%ul#robots
|
|
- @robots.each do |robot|
|
|
= render(:haml, :robot, locals: { robot: robot })
|
|
-else
|
|
%h2 You Need To Build Some Robots!
|