search for: handlebar

Displaying 2 results from an estimated 2 matches for "handlebar".

Did you mean: handlebars
2012 May 07
1
Sprockets, JST, Eco and escaping
...eco <%= expression %>: Evaluate a CoffeeScript expression, *escape* its return value, and print it. It means that by default it should escape "expression". So why isn''t escaping happening by default on Rails JST eco templates? I know about templating alternatives like Handlebars or Knockout, but I actually want to be able to use some ERB-like template. For example, as far as I could find out Handlebars won''t support local helpers for instance. I don''t like the idea of polluting the global space with lots of helpers because it would be a mess for me t...
2012 Aug 30
4
how to change theme in rails 3.2.7
...2.7. I have few themes in my public/themes folder. For example in my theme-1 folder there is one index.html + style.css + few images (if required) At the time of registration user will select one theme. Now when the user will login that theme will display. I will use handle bar(http://handlebarsjs.com/) for data insertion. My main problem is that how I''ll load the theme from public/themes folder to the user after login. My controller is below after user login class ClientUsersController < ApplicationController def index end end Right now when user login...