mirror of
https://github.com/ansible/awx.git
synced 2024-11-05 05:51:21 +03:00
AC-441,442,443
This commit is contained in:
parent
365f327887
commit
7246ab2674
@ -90,7 +90,12 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies'])
|
||||
|
||||
// Prepend an asterisk to required field label
|
||||
$('.form-control[required]').each(function() {
|
||||
var txt = $(this).parent().parent().find('label').prepend('* ');
|
||||
var label = $(this).parent().parent().find('label');
|
||||
var rgx = /^\*/;
|
||||
if ( !rgx.test(label.text()) ) {
|
||||
// required field does not have leading *
|
||||
label.prepend('* ');
|
||||
}
|
||||
});
|
||||
|
||||
if (options.modal) {
|
||||
|
@ -166,7 +166,7 @@
|
||||
<div class="login-alert" ng-show="(sessionExpired == true)">Your session timed out due to inactivity. Please sign in.</div>
|
||||
<form id="login-form" name="loginForm" class="form-horizontal" autocomplete="off" novalidate >
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3">Username</label>
|
||||
<label class="control-label col-lg-3">* Username</label>
|
||||
<div class="col-lg-8">
|
||||
<input type="text" name="login_username" class="form-control" ng-model="login_username"
|
||||
id="login-username" autocomplete="off" required>
|
||||
@ -177,7 +177,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label col-lg-3">Password</label>
|
||||
<label class="control-label col-lg-3">* Password</label>
|
||||
<div class="col-lg-8">
|
||||
<input type="password" name="login_password" id="login-password" class="form-control"
|
||||
ng-model="login_password" required autocomplete="off">
|
||||
|
Loading…
Reference in New Issue
Block a user