anchor.diff:  <%= form_for transaction, url: submit_url, method: method, remote: remote, html: { class: 'form transaction-form' } do |form| %>
     <div class="form-group">
       <%= form.label :account_id, class: 'control-label' %>
  -    <%= form.select :account_id, options_for_select(Account.all.map { |account| [account.title, account.id] }, transaction.account_id), {}, data: { width: '100%' } %>
  +    <%= form.select :account_id, options_for_select(Account.all.map { |account| [account.title, account.id] }, transaction.account_id), {}, data: { width: '100%' }, class: 'account-select' %>
     </div>
     <div class="form-group">
       <%= form.label :amount %>
  
positive.code:   $(function() {
      "use strict";
  
      $(".transaction-form select").select2({
        theme: "bootstrap",
        allowClear: false,
        minimumResultsForSearch: Infinity
      });
    });
  </script>
  
negative.code:   </div>
    <div class="form-group">
      <%= form.label :currency %>
      <%= form.select :currency, options_for_select(Const::ISO_CURRENCY_CODES, transaction.account_id), {}, data: { width: '100%' }, class: 'currency-select' %>
    </div>
    <div class="form-group">
      <%= form.label :description %>
  