We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think my question is potentially related to #95 and #89 but I'll ask it anyways.
I have a Handlebars view and I'd like to access the data and include it inside of a Rails method like so
<%= image_tag "adBuilder/templates/{{template.gender}}/template-0{{template.template}}-large.png", class: "" %>
I'd want the above line of code to resolve to
<img src="adBuilder/templates/male/template-01-large.png" />
Of course with the Rails fingerprinting from the asset pipeline.
Am I doing something wrong or is this not supported yet?
The text was updated successfully, but these errors were encountered:
Update, the code does resolve the template data like it should. However the image_tag puts /images in front of the URL instead of /assets.
Sorry, something went wrong.
One thing to note is to make sure you have alt set to something. Even alt: ""
alt
alt: ""
No branches or pull requests
I think my question is potentially related to #95 and #89 but I'll ask it anyways.
I have a Handlebars view and I'd like to access the data and include it inside of a Rails method like so
I'd want the above line of code to resolve to
Of course with the Rails fingerprinting from the asset pipeline.
Am I doing something wrong or is this not supported yet?
The text was updated successfully, but these errors were encountered: