Fixed variable access deprecation warnings in ERB templates.
Merge pull request #24 from yangjuven/var-access-patch

Fixed variable access deprecation warnings in ERB templates.