Fixed variable access deprecation warnings in ERB templates.
Merge pull request #9 from eliasp/fix-variable-access-deprecation-warnings

Fixed variable access deprecation warnings in ERB templates.