<%= form_for :accounts,:url => accounts_switch_path,:remote => true do |f| %> Change Account: <%= f.select "account_uuid",show_accounts,{:selected => primary_account_id} %> <% end %>