标签: ruby-on-rails ruby-on-rails-3
<%= f.text_field :invoice_amnt, :short_over, class: "form-control",placeholder: "Enter Invoice Amount", :required=> true, data: {autonumeric: true} %>
我希望我的textfield同时具有:invoice_amnt和short_over但我正在做的那个不能有2个参数。