<%= simple_form_for @user,
                    url: { controller: 'users', action: 'quick_create' },
                    html: { class: 'form-vertical' }, remote: true,
                    wrapper: :vertical_form do |f| %>
  <%= f.error_notification %>

  <%= f.input :username, as: :hidden %>
  <%= f.input :first_name, readonly: true %>
  <%= f.input :last_name, readonly: true %>
  <%= f.input :phone, hint: 'Format like (555) 555-5555' %>
  <%= f.input :email %>
  <%= f.input :affiliation %>

  <%= f.button :submit, cancel: root_path %>
<% end %>

<%= simple_form_for @user,
                    url: { controller: 'users', action: 'quick_create' },
                    html: { class: 'form-vertical' }, remote: true,
                    wrapper: :vertical_form do |f| %>
  <%= f.error_notification %>

  <%= f.input :username, as: :hidden %>
  <%= f.input :first_name, readonly: true %>
  <%= f.input :last_name, readonly: true %>
  <%= f.input :phone, hint: 'Format like (555) 555-5555' %>
  <%= f.input :email %>
  <%= f.input :affiliation %>

  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <%= f.button :submit %>
      <button class="btn btn-default" data-dismiss="modal" type="button">Cancel</button>
    </div>
  </div>
<% end %>

Fix cancel button on quick new user modal
Fix cancel button on quick new user modal

Resolves #1376
