constant101

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Dynamically create sass variables in rails

What about .erb syntax? Can't pass: <%= content_tag :div, style: "--rating: <%= rating_value %>" %>
Thanx!

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.