2017-12-19 17:58:22 +00:00
|
|
|
<div class="col-9">
|
2017-11-29 11:20:04 +00:00
|
|
|
<h1>Let's setup Documize</h1>
|
|
|
|
<h3>Database: {{model.dbname}}</h3>
|
|
|
|
<form class="my-5" {{action "save" on="submit"}}>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Team</label>
|
2017-12-19 17:58:22 +00:00
|
|
|
{{focus-input id="siteTitle" type="text" value=model.title class=(if hasEmptyTitleError 'form-control is-invalid' 'form-control')}}
|
2017-11-29 11:20:04 +00:00
|
|
|
<small class="form-text text-muted">What's your tribe called?</small>
|
2016-11-27 15:59:08 -08:00
|
|
|
</div>
|
2017-11-29 11:20:04 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="adminFirstname">Firstname</label>
|
2017-12-19 17:58:22 +00:00
|
|
|
{{input id="adminFirstname" type="text" value=model.firstname class=(if hasEmptyFirstnameError 'form-control is-invalid' 'form-control')}}
|
2017-11-29 11:20:04 +00:00
|
|
|
<small class="form-text text-muted">What do people call you?</small>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="adminLastname">Lastname</label>
|
2017-12-19 17:58:22 +00:00
|
|
|
{{input id="adminLastname" type="text" value=model.lastname class=(if hasEmptyLastnameError 'form-control is-invalid' 'form-control')}}
|
2017-11-29 11:20:04 +00:00
|
|
|
<small class="form-text text-muted">How the government refers to you</small>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="adminEmail">Email</label>
|
2017-12-19 17:58:22 +00:00
|
|
|
{{input id="adminEmail" type="email" value=model.email class=(if hasEmptyEmailError 'form-control is-invalid' 'form-control')}}
|
2017-11-29 11:20:04 +00:00
|
|
|
<small class="form-text text-muted">No spam. Ever.</small>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="adminPassword">Password</label>
|
2017-12-19 17:58:22 +00:00
|
|
|
{{input id="adminPassword" type="password" value=model.password class=(if hasEmptyPasswordError 'form-control is-invalid' 'form-control')}}
|
2017-11-29 11:20:04 +00:00
|
|
|
<small class="form-text text-muted">Something you can remember without writing it down</small>
|
|
|
|
</div>
|
2018-09-24 18:53:01 +01:00
|
|
|
<button type="submit" class="btn btn-success mt-5" {{action 'save'}}>{{buttonLabel}}</button>
|
2017-10-06 13:59:58 -04:00
|
|
|
</form>
|
2016-07-28 16:49:31 +02:00
|
|
|
</div>
|