fix <select>: add "form-control" class on all <select>

This commit is contained in:
Son NK 2020-05-02 12:28:20 +02:00
parent 0edcc25289
commit 8467d2b934
2 changed files with 3 additions and 3 deletions

View file

@ -122,7 +122,7 @@
<div class="mb-3">Choose how to create your email alias by default</div>
<form method="post" class="form-inline">
<input type="hidden" name="form-name" value="change-alias-generator">
<select class="mr-sm-2" name="alias-generator-scheme">
<select class="form-control mr-sm-2" name="alias-generator-scheme">
<option value="{{ AliasGeneratorEnum.word.value }}"
{% if current_user.alias_generator == AliasGeneratorEnum.word.value %} selected {% endif %} >Based on
Random {{ AliasGeneratorEnum.word.name.capitalize() }}</option>

View file

@ -82,7 +82,7 @@
<label style="padding-top: .5rem">Email</label>
</div>
<div class="col-md-9">
<select class="" name="suggested-email">
<select class="form-control" name="suggested-email">
<option selected value="{{ suggested_email }}">{{ suggested_email }}</option>
<option value="{{ current_user.email }}">{{ current_user.email }} (Personal Email)</option>
{% for email in other_emails %}
@ -132,7 +132,7 @@
<label style="padding-top: .5rem">Name</label>
</div>
<div class="col-md-9">
<select class="" name="suggested-name">
<select class="form-control" name="suggested-name">
<option selected value="{{ suggested_name }}">{{ suggested_name }}</option>
{% for name in other_names %}
<option value="{{ name }}">{{ name }}</option>