client/app/auth/register_modal.html
author ymh <ymh.work@gmail.com>
Wed, 08 Jan 2020 17:49:53 +0100
changeset 205 147583c43f0d
parent 169 76fb2dd72ce4
permissions -rw-r--r--
add poetry on sync
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
60
7d624c1013a3 add and repair auth module (it was not detected by mercurial anymore due to a cass problem on title)
rougeronj
parents:
diff changeset
     1
<div class="modal-header ng-scope">
96
3542155549e4 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
     2
    <h3 class="modal-title">Créer un Compte</h3>
60
7d624c1013a3 add and repair auth module (it was not detected by mercurial anymore due to a cass problem on title)
rougeronj
parents:
diff changeset
     3
</div>
7d624c1013a3 add and repair auth module (it was not detected by mercurial anymore due to a cass problem on title)
rougeronj
parents:
diff changeset
     4
169
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
     5
<form name="registrationForm" novalidate ng-submit="submit(registrationForm)">
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
     6
   <div class="modal-body ng-scope">
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
     7
        <h3>{{ message }}</h3> 
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
     8
       <div class="form-group">
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
     9
            <label>Email</label>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    10
            <input type="text" name="email" class="form-control" ng-model="user.email" required autofocus/>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    11
            <div ng-messages="registrationForm.email.$error">
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    12
                <ng-messages-include src="components/messages.html"></ng-messages-include>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    13
            </div>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    14
        </div>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    15
        <div class="form-group">
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    16
            <label>Mot de passe</label>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    17
            <input type="password" name="password" class="form-control" ng-model="user.password" required />
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    18
            <div ng-messages="registrationForm.password.$error">
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    19
                <ng-messages-include src="components/messages.html"></ng-messages-include>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    20
            </div>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    21
        </div>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    22
        <div class="form-group">
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    23
            <label>Confirmer le mot de passe</label>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    24
            <input type="password" name="confirmPassword" class="form-control" 
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    25
                   ng-model="user.confirmPassword" 
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    26
                   required compare-to="user.password" />
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    27
            <div ng-messages="registrationForm.confirmPassword.$error">
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    28
                <ng-messages-include src="components/messages.html"></ng-messages-include>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    29
            </div>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    30
        </div>
96
3542155549e4 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
    31
    </div>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
    32
    <div class="modal-footer ng-scope">
169
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    33
        <div class="form-group">
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    34
            <button type="button" ng-click="back()" class="btn btn-warning">Retour</button>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    35
            <button type="submit" class="btn btn-primary">Créer</button>
76fb2dd72ce4 update auth controller to fit to the new server side authentication
rougeronj
parents: 96
diff changeset
    36
        </div>
96
3542155549e4 replace all the tab by spaces
rougeronj
parents: 68
diff changeset
    37
    </div>
64
8eb98cd4c29d minor html update in forms and book page
rougeronj
parents: 60
diff changeset
    38
</form>