Lines 754-784
Link Here
|
754 |
|
754 |
|
755 |
[% UNLESS action == 'edit' %] |
755 |
[% UNLESS action == 'edit' %] |
756 |
<fieldset class="rows" id="memberentry_password"> |
756 |
<fieldset class="rows" id="memberentry_password"> |
757 |
<legend id="contact_legend">Contact information</legend> |
757 |
<legend id="contact_legend">Password</legend> |
758 |
[% UNLESS hidden.defined('password') %] |
758 |
[% UNLESS hidden.defined('password') %] |
759 |
<div class="alert alert-info">Your password must be at least [% minpassw %] characters long. |
759 |
<div class="alert alert-info"> |
760 |
[% IF mandatory.defined('password') %] |
760 |
[% IF Koha.Preference('minPasswordLength') %] |
761 |
<br>You must enter a password!</div> |
761 |
<p>Your password must be at least [% Koha.Preference('minPasswordLength') %] characters long.</p> |
762 |
<ol> |
762 |
[% END %] |
763 |
<li><label for="borrower_password" class="required">Password</label> |
763 |
[% UNLESS mandatory.defined('password') %] |
764 |
<input type="text" name="borrower_password" id="password" /> |
764 |
If you do not enter a password a system generated password will be created |
765 |
</li> |
765 |
[% END %] |
766 |
<li><label for="borrower_password2" class="required">Confirm password</label> |
766 |
</div> |
767 |
<input type="text" name="borrower_password2" id="password2" /> |
767 |
|
768 |
</li> |
768 |
[% IF mandatory.defined('password') %] |
769 |
</ol> |
769 |
<ol> |
770 |
[% ELSE %] |
770 |
<li><label for="borrower_password" class="required">Password</label> |
771 |
<br>If you do not enter a password a system generated password will be created</div> |
771 |
<input type="text" name="borrower_password" id="password" /> |
772 |
<ol> |
772 |
<span class="required">Required</span> |
773 |
<li><label for="borrower_password">Password</label> |
773 |
</li> |
774 |
<input type="text" name="borrower_password" id="password" /> |
774 |
<li><label for="borrower_password2" class="required">Confirm password</label> |
775 |
</li> |
775 |
<input type="text" name="borrower_password2" id="password2" /> |
776 |
<li><label for="borrower_password2">Confirm password</label> |
776 |
<span class="required">Required</span> |
777 |
<input type="text" name="borrower_password2" id="password2" /> |
777 |
</li> |
778 |
</li> |
778 |
</ol> |
779 |
</ol> |
779 |
[% ELSE %] |
|
|
780 |
<ol> |
781 |
<li><label for="borrower_password">Password</label> |
782 |
<input type="text" name="borrower_password" id="password" /> |
783 |
</li> |
784 |
<li><label for="borrower_password2">Confirm password</label> |
785 |
<input type="text" name="borrower_password2" id="password2" /> |
786 |
</li> |
787 |
</ol> |
788 |
[% END %] |
780 |
[% END %] |
789 |
[% END %] |
781 |
[% END %] |
|
|
782 |
</fieldset> |
790 |
</fieldset> |
783 |
|
791 |
|
784 |
<fieldset class="rows" id="memberentry_captcha"> |
792 |
<fieldset class="rows" id="memberentry_captcha"> |