|
44 | 44 | <div class="form-group"> |
45 | 45 | <label for="email" class="control-label">Email</label> |
46 | 46 | <div> |
47 | | - <input type="email" name="input_email" value="{{ $user->email }}" class="form-control"> |
| 47 | + <input readonly type="email" name="email" value="{{ $user->email }}" class="form-control form-autocomplete-stop"> |
48 | 48 | </div> |
49 | 49 | </div> |
50 | 50 | <div class="form-group"> |
51 | 51 | <label for="registered" class="control-label">Username</label> |
52 | 52 | <div> |
53 | | - <input type="text" name="input_username" value="{{ $user->username }}" class="form-control"> |
| 53 | + <input readonly type="text" name="username" value="{{ $user->username }}" class="form-control form-autocomplete-stop"> |
54 | 54 | </div> |
55 | 55 | </div> |
56 | 56 | <div class="form-group"> |
57 | 57 | <label for="registered" class="control-label">Client First Name</label> |
58 | 58 | <div> |
59 | | - <input type="text" name="name_first" value="{{ $user->name_first }}" class="form-control"> |
| 59 | + <input readonly type="text" name="name_first" value="{{ $user->name_first }}" class="form-control form-autocomplete-stop"> |
60 | 60 | </div> |
61 | 61 | </div> |
62 | 62 | <div class="form-group"> |
63 | 63 | <label for="registered" class="control-label">Client Last Name</label> |
64 | 64 | <div> |
65 | | - <input type="text" name="name_last" value="{{ $user->name_last }}" class="form-control"> |
| 65 | + <input readonly type="text" name="name_last" value="{{ $user->name_last }}" class="form-control form-autocomplete-stop"> |
66 | 66 | </div> |
67 | 67 | </div> |
68 | 68 | </div> |
|
82 | 82 | <div class="form-group"> |
83 | 83 | <label for="password" class="control-label">Password</label> |
84 | 84 | <div> |
85 | | - <input type="password" id="password" name="input_password" class="form-control"> |
| 85 | + <input readonly type="password" id="password" name="password" class="form-control form-autocomplete-stop"> |
86 | 86 | </div> |
87 | 87 | </div> |
88 | 88 | </div> |
|
167 | 167 | </div> |
168 | 168 | </div> |
169 | 169 | @endsection |
170 | | - |
171 | | -@section('footer-scripts') |
172 | | - @parent |
173 | | - <script>$("#gen_pass_bttn").click(function (event) { |
174 | | - event.preventDefault(); |
175 | | - $.ajax({ |
176 | | - type: "GET", |
177 | | - url: "/password-gen/12", |
178 | | - headers: { |
179 | | - 'X-CSRF-TOKEN': '{{ csrf_token() }}' |
180 | | - }, |
181 | | - success: function(data) { |
182 | | - $("#gen_pass").html('You must click <em>Update Password</em> below for this password to be applied.<br /><br /><strong>Generated Password:</strong> ' + data).slideDown(); |
183 | | - $('input[name="password"], input[name="password_confirmation"]').val(data); |
184 | | - return false; |
185 | | - } |
186 | | - }); |
187 | | - return false; |
188 | | - }); |
189 | | - </script> |
190 | | -@endsection |
0 commit comments