make the html.erb file to use html snippet