I have a form where you have:
=f.input :name , label: false , placeholder: "Nome do amigo" , input_html:{class: "form__input"} , required: true
=f.input :email , label: false , placeholder: "Email do amigo" , input_html:{class: "form__input"} , required: true
On the side has an icon +
, where if the user clicks on it, the double fields (name and email) appear empty underneath once again for a new registration. Does anyone help me do this?