<%= f.input :name ,:label =>false,:error => false,:placeholder =>'Please enter client name',input_html: { class: "form-control" } %>
<%= f.error :name ,style: 'color: red' %>
<%= f.input :email ,:error=>false,:label =>false ,:placeholder =>'Please enter client email',input_html: { class: "form-control" } %>
<%= f.input :phone,:error=>false,:label =>false,:placeholder =>'Please enter client phone',input_html: { class: "form-control" } %>
<%= f.input :address,:error=>false,:label =>false,:placeholder =>'Please enter client address',input_html: { class: "form-control" } %>
<% if @client.id.nil? %>
<%= f.input :location_code,:error=>false,:maxlength=>3,:label =>false,:placeholder =>'Please enter client location code',input_html: { class: "form-control" } %>
<% end %>