vendredi 16 mars 2018

Add tag to input

Let's say I have such an input:

f.text_field :name 

How can I add this tag to it: data-hj-whitelist

So that It looks something like:

<input type="text" name="name" data-hj-whitelist/>

Thanks

Aucun commentaire:

Enregistrer un commentaire