title: Get rails variables as parameter to an onclick event function
body: <p>I'm trying to do something: I have a event listener to call a function when a button is clicked (there is a dynamic amount of them), but I would like to pass an additionnal argument to the function depending, which would be a parameter defined in my controller.</p>
  
  <p>Do you have any clue about how I could achieve that?</p>