Skip to content

Commit

Permalink
fix auth form
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed May 15, 2020
1 parent db40a54 commit f564709
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/ntb/views/login-modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<div class="form-handler" ng-show="!changePassword">
<figure class="avatar" style="background-image:url('{{ identity.Avatar.href || 'images/avatar_200.png' }}')" ng-show="identity.Avatar"></figure>
<form name="loginForm" ng-submit="authenticate()">
<fieldset class="inputs" ng-if="features.auth_db">
<fieldset class="inputs" ng-show="features.auth_db">
<input type="text" id="login-username" ng-model="username" placeholder="{{ 'username'|translate }}" class="fullwidth-input" ng-disabled="identity.Id" required />
<input type="password" id="login-password" ng-model="password" placeholder="{{ 'password'|translate }}" class="fullwidth-input login-pass" required />
</fieldset>

<fieldset class="buttons" ng-if="features.auth_db">
<fieldset class="buttons" ng-show="features.auth_db">
<button ng-disabled="isLoading" id="login-btn" type="submit" class="btn btn--sd-green">
{{ 'Log In' | translate }}
<div class="spinner" ng-show="isLoading">
Expand Down

0 comments on commit f564709

Please sign in to comment.