<div class="row">
  <div class="col-xs-12 col-md-8">

    <%= f.field_container :product do %>
        <%= f.label :product_id, Spree.t(:product) %><br />
        <%= f.select :product_id, @products, {}, {:class=>'select2'} %>
        <br/>
        <%= f.label :user_id, "User" %><br />
        <%= f.collection_select :user_id, @users, :id, :email, {},{:class => 'select2'}  %>

        <br/>

        <%= f.label :start_datetime, "Start Date" %><br />
        <%= f.datetime_select :start_datetime %>
        <br/>
        <%= f.label :end_datetime, "End Date" %><br />
        <%= f.datetime_select :end_datetime %>
        <br/>
        <br/>
        <%= f.label :num_seats, "Number of Seats" %><br />
        <%= f.number_field :num_seats %>
        <br/><br/>
        <%= f.label :token, "Token" %><br />
        <%= f.text_field :token %>

        <hr/>
        <br/>
        <%= f.label :is_renewal, "Is renewal: #{@account_subscription.is_renewal}"%>
        <br/>
        <%= f.label :renewal_date, "Renewal Date: #{@account_subscription.renewal_date}"%>
        <br/>
        <hr/>
        <%= f.error_message_on :product %>
    <% end %>
  </div>
</div>


<div class="row">
  <div class="col-xs-12 col-md-8">

    <%= f.field_container :product do %>
        <%= f.label :product_id, Spree.t(:product) %><br />
        <%= f.select :product_id, @products, {}, {class: 'select2'} %>
        <br/>
        <%= f.label :user_id, "User" %><br />
        <%= f.select :user_id, @users, {}, {class: 'select2'} %>

        <br/>

        <%= f.label :start_datetime, "Start Date" %><br />
        <%= f.datetime_select :start_datetime %>
        <br/>
        <%= f.label :end_datetime, "End Date" %><br />
        <%= f.datetime_select :end_datetime %>
        <br/>
        <br/>
        <%= f.label :num_seats, "Number of Seats" %><br />
        <%= f.number_field :num_seats %>
        <br/><br/>
        <%= f.label :token, "Token" %><br />
        <%= f.text_field :token %>

        <hr/>
        <br/>
        <%= f.label :is_renewal, "Is renewal: #{@account_subscription.is_renewal}"%>
        <br/>
        <%= f.label :renewal_date, "Renewal Date: #{@account_subscription.renewal_date}"%>
        <br/>
        <hr/>
        <%= f.error_message_on :product %>
    <% end %>
  </div>
</div>


Fix up to previous commit
Fix up to previous commit
