<%= form_for(@basket, html: {name: 'basket_form'}) do |f| -%>
<%= f.error_messages -%>
<%= f.label t('activerecord.attributes.user.user_number') -%>
<%= f.search_field :user_number, class: 'resource_user_number' -%>
<%= f.submit t('page.read'), data: {disable_with: t('page.saving')} -%>
<%- end -%>
<%= javascript_tag("$(function(){$('#basket_user_number').focus().select()})") %>