I canβt understand what the purpose of mentioning the float class is for hosting HTML code. The problem faced by this feature of the rail is this: the next element appears next to it, and not immediately after it. Is there an easy way to fix this, instead of using jQuery or more, write inpput to display it as integer / string. To remove this class float .. Please reply ASAP .. :as=>:float must be changed to :as=>:string Thank you ..
<%= f.association :resource, :required=>:true, %> <%= f.input :join_date,:as=>:string, :required=>:true, :input_html=>{:class=>'datepicker'} %> <%= f.association :resource_role, :required=>:true, :label=>"Role" %> <%= f.association :resource_billing_type, :required=>:true, :label=>"Billing Type" %> <%= f.input :billing_rate, :as=>:float, :required=>:true, %>

source share