Update templates.rb

uninitialized constant Prawn::Document