%= form_for @device, html: { class: 'form-horizontal' } do |f| %>
<%= link_to '#', class: 'btn btn-danger btn-sm pull-right' do %> <%= t('.change_driver') %> <% end %> <%= @device.driveable.class::NAME %>
<% else %> <%= f.select :driver, options_for_drivers, { include_blank: true }, class: 'form-control' %> <% end %>