mirror of
https://github.com/simple-login/app.git
synced 2024-11-15 13:14:36 +08:00
fix <select>: add "form-control" class on all <select>
This commit is contained in:
parent
0edcc25289
commit
8467d2b934
2 changed files with 3 additions and 3 deletions
|
@ -122,7 +122,7 @@
|
||||||
<div class="mb-3">Choose how to create your email alias by default</div>
|
<div class="mb-3">Choose how to create your email alias by default</div>
|
||||||
<form method="post" class="form-inline">
|
<form method="post" class="form-inline">
|
||||||
<input type="hidden" name="form-name" value="change-alias-generator">
|
<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 }}"
|
<option value="{{ AliasGeneratorEnum.word.value }}"
|
||||||
{% if current_user.alias_generator == AliasGeneratorEnum.word.value %} selected {% endif %} >Based on
|
{% if current_user.alias_generator == AliasGeneratorEnum.word.value %} selected {% endif %} >Based on
|
||||||
Random {{ AliasGeneratorEnum.word.name.capitalize() }}</option>
|
Random {{ AliasGeneratorEnum.word.name.capitalize() }}</option>
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
<label style="padding-top: .5rem">Email</label>
|
<label style="padding-top: .5rem">Email</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<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 selected value="{{ suggested_email }}">{{ suggested_email }}</option>
|
||||||
<option value="{{ current_user.email }}">{{ current_user.email }} (Personal Email)</option>
|
<option value="{{ current_user.email }}">{{ current_user.email }} (Personal Email)</option>
|
||||||
{% for email in other_emails %}
|
{% for email in other_emails %}
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
<label style="padding-top: .5rem">Name</label>
|
<label style="padding-top: .5rem">Name</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<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>
|
<option selected value="{{ suggested_name }}">{{ suggested_name }}</option>
|
||||||
{% for name in other_names %}
|
{% for name in other_names %}
|
||||||
<option value="{{ name }}">{{ name }}</option>
|
<option value="{{ name }}">{{ name }}</option>
|
||||||
|
|
Loading…
Reference in a new issue