<%= t('drivers.title') %>

<%= link_to t('drivers.new_driver'), new_admin_driver_path, class: 'btn btn-success' %>

<%= notice %>

<% @drivers.each do |driver| %> <% end %>
<%= t('activerecord.attributes.driver.name') %> <%= t('activerecord.attributes.driver.last_name') %> <%= t('activerecord.attributes.user.username') %> <%= t('activerecord.attributes.driver.email') %> <%= t('activerecord.attributes.driver.phone') %> <%= t('tables.actions') %>
<%= driver.name %> <%= driver.last_name %> <%= driver.user.username %> <%= driver.email %> <%= driver.phone %> <%= link_to t('actions.show'), admin_driver_path(driver) %> <%= link_to t('actions.edit'), edit_admin_driver_path(driver) %> <%= link_to t('actions.destroy'), admin_driver_path(driver), method: :delete, data: {confirm: t('tables.confirm')} %>