Here's how it would look like:
<%= f.label :customer, t('admin.customers.index.items') %><br /> <%= f.select( :customer, @customers.map {|c| ["#{c.surname} #{c.name} - #{c.company}", c.id] } ) %>
Here's how it would look like:
<%= f.label :customer, t('admin.customers.index.items') %><br /> <%= f.select( :customer, @customers.map {|c| ["#{c.surname} #{c.name} - #{c.company}", c.id] } ) %>
muito obrigado