follow ruby code conventions in ruby embeded in html codes here and for the rest of the file