Update to use instance variable in inline_template