- <ListingTypeSelect
- type_={
- Object.values(ListingType)[
- this.state.saveUserSettingsForm.default_listing_type
- ]
- }
- showLocal={showLocal(this.isoData)}
- onChange={this.handleListingTypeChange}
- />
+ <div class="col-sm-9">
+ <select
+ id="user-theme"
+ value={this.state.saveUserSettingsForm.theme}
+ onChange={linkEvent(this, this.handleThemeChange)}
+ class="custom-select w-auto"
+ >
+ <option disabled aria-hidden="true">
+ {i18n.t("theme")}
+ </option>
+ <option value="browser">{i18n.t("browser_default")}</option>
+ {themes.map(theme => (
+ <option value={theme}>{theme}</option>
+ ))}
+ </select>
+ </div>
+ </div>
+ <form className="form-group row">
+ <label class="col-sm-3">{i18n.t("type")}</label>
+ <div class="col-sm-9">
+ <ListingTypeSelect
+ type_={
+ Object.values(ListingType)[
+ this.state.saveUserSettingsForm.default_listing_type
+ ]
+ }
+ showLocal={showLocal(this.isoData)}
+ onChange={this.handleListingTypeChange}
+ />
+ </div>