You could wrap this in a ```<% if @static %>```.