/* import govuk_admin_template to get bootstrap styles */
@import 'govuk_admin_template';

#new-list {
  margin-bottom: 20px;
}

form.resource {
  margin: 30px 0;
}

form label {
  display: block;

  .error {
    color: $state-danger-text;
  }
}

input[type='text'] {
  @extend .form-control;
}
.errors input {
  border-color: $state-danger-border;
}

button {
  @extend .btn;
  @extend .btn-default;

  &[type='submit'] {
    @extend .btn-primary;
  }
}

.form-actions {
  margin: 25px 0;

  .cancel {
    padding-left: 10px;
  }
}

/* import govuk_admin_template to get bootstrap styles */
@import 'govuk_admin_template';

#new-list {
  margin-bottom: 20px;
}

form.resource {
  margin: 30px 0;

  .select2 {
    width: 100%;
  }
}

form label {
  display: block;

  .error {
    color: $state-danger-text;
  }
}

input[type='text'] {
  @extend .form-control;
}
.errors input {
  border-color: $state-danger-border;
}

button {
  @extend .btn;
  @extend .btn-default;

  &[type='submit'] {
    @extend .btn-primary;
  }
}

.form-actions {
  margin: 25px 0;

  .cancel {
    padding-left: 10px;
  }
}

Make all .select2 elements full width
Make all .select2 elements full width

By default, the `select2-rails` dependency we're using sets all
`.select2` elements to be 170px width. However all of the form elements
for collections-publisher are set to use 100% (or auto) width.

Updating this class element makes this consistent.
