mercredi 3 mai 2017

Rails Storing data in two table in one text_field

<%= f.text_field :invoice_amnt, :short_over, class: "form-control",placeholder: "Enter Invoice Amount", :required=> true, data: {autonumeric: true}  %>

I want my textfield to have :invoice_amnt and short_over at the same time but the one I am doing cannot have 2 arguments.

Aucun commentaire:

Enregistrer un commentaire