terms label

This commit is contained in:
ntr 2019-10-25 19:04:45 +11:00
parent 76a6eb2710
commit 87ea0eb81f
3 changed files with 9 additions and 2 deletions

View File

@ -90,6 +90,11 @@
.login { .login {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
.terms {
display: inline;
margin: 0 1em;
}
} }
} }

View File

@ -79,9 +79,11 @@ function Register(args) {
<div> <div>
<input <input
type="checkbox" type="checkbox"
name="terms"
id="register-terms"
onInput={linkState(this, 'terms') onInput={linkState(this, 'terms')
}/> }/>
&nbsp; Confirm agreement to terms of service &nbsp; <label class="terms" for="register-terms">Confirm agreement to terms of service.</label>
<button onClick={() => window.open('/tos.html')}>VIEW</button> <button onClick={() => window.open('/tos.html')}>VIEW</button>
</div> </div>
<button <button

View File

@ -450,7 +450,7 @@ pub fn start(pool: PgPool, events_tx: CbSender<Event>, stripe: StripeClient) {
} }
// we done // we done
Err(e) => { Err(e) => {
info!("{:?}", e); // info!("{:?}", e);
break; break;
}, },
}; };