Ruby and ERB syntax fix