Skip to content

Commit ba99301

Browse files
committed
update modalRegister markup
1 parent e9845ff commit ba99301

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

public/html/directives/modalRegister.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
<h3 class="heading-tertiary">Zarejestruj</h3>
44
</div>
55
<div class="modal__body">
6-
<form>
6+
<form id="registerForm" data-ng-submit="register()">
77
<div class="form-group">
88
<label for="email">E-Mail:</label>
9-
<input type="email" placeholder="login" class="form-control" id="email">
9+
<input type="email" placeholder="[email protected]" class="form-control" id="email" data-ng-model="email">
1010
</div>
1111
<div class="form-group">
1212
<label for="password">Hasło:</label>
13-
<input type="password" placeholder="login" class="form-control" id="password">
13+
<input type="password" placeholder="******" class="form-control" id="password" data-ng-model="password">
1414
</div>
1515
<div class="form-group">
1616
<label for="password_confirm">Potwierdź hasło:</label>
17-
<input type="password" placeholder="login" class="form-control" id="password_confirm">
17+
<input type="password" placeholder="******" class="form-control" id="password_confirm" data-ng-model="passwordConf">
1818
</div>
1919
</form>
2020
</div>
2121
<div class="modal__footer">
22-
<button type="button" class="button">Zaloguj</button>
22+
<button type="submit" class="button" form="registerForm">Zarejestruj</button>
2323
<button type="button" class="button" data-ng-click="hideModal()">Zamknij</button>
2424
</div>
2525
</div>

0 commit comments

Comments
 (0)