summaryrefslogtreecommitdiff
path: root/views/login.handlebars
diff options
context:
space:
mode:
authorRaphael <raphaelkabo@gmail.com>2020-02-06 11:11:45 +0000
committerGitHub <noreply@github.com>2020-02-06 11:11:45 +0000
commita594946b13c15fda6d49f0651ffdf2332a3793cd (patch)
tree8e690cf7a80635685b258eb6a4b2a1ca3f79ab36 /views/login.handlebars
parent111406040ec9f7f48b28077c8eea95a792b14cc7 (diff)
parenta390b02416777b045f03a286bfbb02ac369571e6 (diff)
Merge pull request #37 from dariusk/whitespace
Normalize whitespace
Diffstat (limited to 'views/login.handlebars')
-rwxr-xr-xviews/login.handlebars44
1 files changed, 22 insertions, 22 deletions
diff --git a/views/login.handlebars b/views/login.handlebars
index b5907c0..a08f5b4 100755
--- a/views/login.handlebars
+++ b/views/login.handlebars
@@ -1,32 +1,32 @@
<h2>Log in</h2>
<div class="form-group row">
- <div class="col-sm-12">
- {{#if isPublic}}
- <p class="form-text">Register or log in to your account to be able to show this event on your profile, edit it, and delete it. <strong>Associating an event with an account is optional, but keep in mind that an unassociated event can not be modified in any way and will be automatically deleted 30 days after it concludes.</strong></p>
- {{else if isPrivate}}
- <p class="form-text">You must <a href="/register">register</a> or log in to your account to create a private event.</p>
- {{else if isOrganisation}}
- <p class="form-text">You must <a href="/register">register</a> or log in to an organisation account to create an organisation event.</p>
- {{/if}}
- </div>
+ <div class="col-sm-12">
+ {{#if isPublic}}
+ <p class="form-text">Register or log in to your account to be able to show this event on your profile, edit it, and delete it. <strong>Associating an event with an account is optional, but keep in mind that an unassociated event can not be modified in any way and will be automatically deleted 30 days after it concludes.</strong></p>
+ {{else if isPrivate}}
+ <p class="form-text">You must <a href="/register">register</a> or log in to your account to create a private event.</p>
+ {{else if isOrganisation}}
+ <p class="form-text">You must <a href="/register">register</a> or log in to an organisation account to create an organisation event.</p>
+ {{/if}}
+ </div>
</div>
<div class="form-group row">
- <label for="email" class="col-sm-2 col-form-label">Email address</label>
- <div class="form-group col-sm-10">
- <input type="email" class="form-control" id="email" name="email" placeholder="We will never spam you or share your email." value="{{data.email}}" data-validation="{{#unless isPublic}}required{{/unless}} email" {{#if isPublic}}data-validation-optional="true"{{/if}}>
- </div>
+ <label for="email" class="col-sm-2 col-form-label">Email address</label>
+ <div class="form-group col-sm-10">
+ <input type="email" class="form-control" id="email" name="email" placeholder="We will never spam you or share your email." value="{{data.email}}" data-validation="{{#unless isPublic}}required{{/unless}} email" {{#if isPublic}}data-validation-optional="true"{{/if}}>
+ </div>
</div>
<div class="form-group row">
- <label for="password" class="col-sm-2 col-form-label">Password</label>
- <div class="form-group col-sm-10">
- <input type="password" class="form-control" id="password" name="password" placeholder="Don't forget it!" {{#unless isPublic}}data-validation="required"{{/unless}}>
- </div>
- <div class="form-group col-sm-10 offset-sm-2">
- <div class="" id="passwordStrengthBar"></div>
- </div>
+ <label for="password" class="col-sm-2 col-form-label">Password</label>
+ <div class="form-group col-sm-10">
+ <input type="password" class="form-control" id="password" name="password" placeholder="Don't forget it!" {{#unless isPublic}}data-validation="required"{{/unless}}>
+ </div>
+ <div class="form-group col-sm-10 offset-sm-2">
+ <div class="" id="passwordStrengthBar"></div>
+ </div>
</div>
<p>
- <a href="/register">Register</a> | <a href="/forgotpassword">Forgot password</a>
-</p> \ No newline at end of file
+ <a href="/register">Register</a> | <a href="/forgotpassword">Forgot password</a>
+</p>