|
1 | | -<div class="col-lg-9 col-md-9 col-sm-9"> |
| 1 | +<div class="col-9"> |
2 | 2 | <h1>Let's setup Documize</h1> |
3 | 3 | <h3>Database: {{model.dbname}}</h3> |
4 | 4 | <form class="my-5" {{action "save" on="submit"}}> |
5 | 5 | <div class="form-group"> |
6 | 6 | <label>Team</label> |
7 | | - {{focus-input id="siteTitle" type="text" value=model.title class=(if hasEmptyTitleError 'form-control error' 'form-control')}} |
| 7 | + {{focus-input id="siteTitle" type="text" value=model.title class=(if hasEmptyTitleError 'form-control is-invalid' 'form-control')}} |
8 | 8 | <small class="form-text text-muted">What's your tribe called?</small> |
9 | 9 | </div> |
10 | 10 | <div class="form-group"> |
11 | 11 | <label for="adminFirstname">Firstname</label> |
12 | | - {{input id="adminFirstname" type="text" value=model.firstname class=(if hasEmptyFirstnameError 'form-control error' 'form-control')}} |
| 12 | + {{input id="adminFirstname" type="text" value=model.firstname class=(if hasEmptyFirstnameError 'form-control is-invalid' 'form-control')}} |
13 | 13 | <small class="form-text text-muted">What do people call you?</small> |
14 | 14 | </div> |
15 | 15 | <div class="form-group"> |
16 | 16 | <label for="adminLastname">Lastname</label> |
17 | | - {{input id="adminLastname" type="text" value=model.lastname class=(if hasEmptyLastnameError 'form-control error' 'form-control')}} |
| 17 | + {{input id="adminLastname" type="text" value=model.lastname class=(if hasEmptyLastnameError 'form-control is-invalid' 'form-control')}} |
18 | 18 | <small class="form-text text-muted">How the government refers to you</small> |
19 | 19 | </div> |
20 | 20 | <div class="form-group"> |
21 | 21 | <label for="adminEmail">Email</label> |
22 | | - {{input id="adminEmail" type="email" value=model.email class=(if hasEmptyEmailError 'form-control error' 'form-control')}} |
| 22 | + {{input id="adminEmail" type="email" value=model.email class=(if hasEmptyEmailError 'form-control is-invalid' 'form-control')}} |
23 | 23 | <small class="form-text text-muted">No spam. Ever.</small> |
24 | 24 | </div> |
25 | 25 | <div class="form-group"> |
26 | 26 | <label for="adminPassword">Password</label> |
27 | | - {{input id="adminPassword" type="password" value=model.password class=(if hasEmptyPasswordError 'form-control error' 'form-control')}} |
| 27 | + {{input id="adminPassword" type="password" value=model.password class=(if hasEmptyPasswordError 'form-control is-invalid' 'form-control')}} |
28 | 28 | <small class="form-text text-muted">Something you can remember without writing it down</small> |
29 | 29 | </div> |
30 | | - <button type="submit" class="btn bt-success mt-5" {{action 'save'}}>Setup</button> |
| 30 | + <button type="submit" class="btn btn-success mt-5" {{action 'save'}}>Setup</button> |
31 | 31 | </form> |
32 | 32 | </div> |
0 commit comments