mirror of
https://github.com/flextype/flextype.git
synced 2025-08-05 04:37:43 +02:00
refactor(core): update help text for installation form #347
This commit is contained in:
@@ -15,15 +15,24 @@
|
||||
<div class="col-4 float-center">
|
||||
<div class="form-group">
|
||||
<label>{{ tr('admin_username') }}</label>
|
||||
<input type="text" name="username" value="" class="form-control" placeholder="lowercase chars only, e.g. admin" pattern="^[a-z0-9_-]{3,16}$" required="required">
|
||||
<input type="text" name="username" value="" class="form-control" placeholder="" pattern="^[a-z0-9_-]{3,16}$" required="required">
|
||||
<small class="form-text text-muted">
|
||||
Lowercase chars only, e.g. admin
|
||||
</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email">{{ tr('admin_email') }}</label>
|
||||
<input type="text" name="email" value="" class="form-control" placeholder="valid email address" required="required">
|
||||
<input type="text" name="email" value="" class="form-control" placeholder="" required="required">
|
||||
<small class="form-text text-muted">
|
||||
Valid email address
|
||||
</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password">{{ tr('admin_password') }}</label>
|
||||
<input type="password" name="password" value="" class="form-control" placeholder="complex string at least 8 chars long" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" required="required">
|
||||
<input type="password" name="password" value="" class="form-control" placeholder="" pattern="(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}" required="required">
|
||||
<small class="form-text text-muted">
|
||||
The password must have at least 8 characters, contain uppercase letters, lowercase letters, special characters and numbers.
|
||||
</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="submit" name="registration" value="{{ tr('admin_create_user') }}" class="btn btn-black btn-block">
|
||||
|
Reference in New Issue
Block a user