diff options
author | Malf Furious <m@lfurio.us> | 2016-03-13 20:51:40 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-03-27 20:16:32 -0400 |
commit | ded0da07ab8d784c7d257a9487fef096032c5521 (patch) | |
tree | 5a6e4d4662afeccdc04267abf5eb83a2bfce285c /app/view/common | |
parent | 92e255cf02de8dc34f1221c952b3dd3bec9cc62b (diff) | |
download | scrott-ded0da07ab8d784c7d257a9487fef096032c5521.tar.gz scrott-ded0da07ab8d784c7d257a9487fef096032c5521.zip |
Fix <label>s and <input>s that use unnecessary DOM IDs
I dont need to give these elements IDs, so I'm not going to
Diffstat (limited to 'app/view/common')
-rw-r--r-- | app/view/common/setting.modal.view.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php index 88a933d..c9587a0 100644 --- a/app/view/common/setting.modal.view.php +++ b/app/view/common/setting.modal.view.php @@ -34,8 +34,8 @@ <form method="post" action="<?=$mod->ap()?>"> <input type="hidden" name="input[action]" value="common-setting-user" /> <div class="form-group"> - <label for="inputUserUsername">Username</label> - <input type="text" id="inputUserUsername" class="form-control" value="<?=$mod->getCurrentUser()->name?>" disabled /> + <label>Username</label> + <input type="text" class="form-control" value="<?=$mod->getCurrentUser()->name?>" disabled /> </div> <div class="checkbox"> @@ -46,35 +46,35 @@ <div class="collapse" id="inputUserPasswdCollapse"> <div class="form-group"> - <label for="inputUserCurPasswd">Current Password</label> - <input type="password" name="input[curPasswd]" id="inputUserCurPasswd" class="form-control" /> + <label>Current Password</label> + <input type="password" name="input[curPasswd]" class="form-control" /> </div> <div class="form-group"> - <label for="inputUserNewPasswd">New Password</label> - <input type="password" name="input[newPasswd]" id="inputUserNewPasswd" class="form-control" /> + <label>New Password</label> + <input type="password" name="input[newPasswd]" class="form-control" /> </div> <div class="form-group"> - <label for="inputUserConfPasswd">Confirm Password</label> - <input type="password" name="input[confPasswd]" id="inputUserConfPasswd" class="form-control" /> + <label>Confirm Password</label> + <input type="password" name="input[confPasswd]" class="form-control" /> </div> </div> <div class="form-group"> - <label for="inputUserAlias">Alias</label> - <input type="text" name="input[alias]" id="inputUserAlias" class="form-control" value="<?=$mod->getCurrentUser()->alias?>" /> + <label>Alias</label> + <input type="text" name="input[alias]" class="form-control" value="<?=$mod->getCurrentUser()->alias?>" /> </div> <div class="form-group"> - <label for="inputUserEmail">Email</label> - <input type="text" name="input[email]" id="inputUserEmail" class="form-control" value="<?=$mod->getCurrentUser()->email?>" /> + <label>Email</label> + <input type="text" name="input[email]" class="form-control" value="<?=$mod->getCurrentUser()->email?>" /> </div> <?php if ($mod->getCurrentUser()->email != "" && $mod->getCurrentUser()->emailConf == 0) { ?> <div class="form-group has-warning"> - <label class="control-label" for="inputUserEmailConfKey">Email Confirmation Key</label> - <input type="text" name="input[emailConfKey]" id="inputUserEmailConfKey" class="form-control" /> + <label class="control-label">Email Confirmation Key</label> + <input type="text" name="input[emailConfKey]" class="form-control" /> <span class="help-block">You have not yet confirmed ownership of your saved email address</span> </div> <?php } ?> |