In working with the instructions, I realized we had a lot of redundant code. This makes the all instruction pages (500/750/1000) use the same layout since they the current files contain the same code except for the machine size. I added a machine_size variable to each step file, and now I am just dynamically calling that.
How did you test this?
Clicked through 3 types of pages (welcome, single step, step with substeps) to make sure pages load.
What does this do?
In working with the instructions, I realized we had a lot of redundant code. This makes the all instruction pages (500/750/1000) use the same layout since they the current files contain the same code except for the machine size. I added a
machine_size
variable to each step file, and now I am just dynamically calling that.How did you test this?
Clicked through 3 types of pages (welcome, single step, step with substeps) to make sure pages load.