Skip to content

Instantly share code, notes, and snippets.

@boudhayan-dev
Created December 25, 2019 11:35
Show Gist options
  • Save boudhayan-dev/d58845fafd64166e54af140e7e1f49fc to your computer and use it in GitHub Desktop.
Save boudhayan-dev/d58845fafd64166e54af140e7e1f49fc to your computer and use it in GitHub Desktop.
Contents of signup.hbs
{{>header}}
<body>
<div class="container content-container">
<div class="modal fade" id="signupModal" data-backdrop="static" data-keyboard="false" tabindex="-1"
role="dialog" aria-labelledby="Sign Up" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered " role="document">
<div class="modal-content">
<form class="signupForm text-center border border-light p-5" action="/signup" method="post" >
<h3 class="mb-4" style="font-weight: bold; color: #17a2b8;">Sign Up</h3>
<input type="text" id="username" name="username" class="form-control" placeholder="Username" required>
<small id="helpTextBlock" class="help-text form-text text-muted mb-4">
Enter your username
</small>
<input type="text" id="email" name="email" class="form-control" placeholder="Email" required>
<small id="helpTextBlock" class="help-text form-text text-muted mb-4">
Enter your Email
</small>
<input type="password" id="password" name="password" class="form-control" placeholder="Password" required>
<small id="helpTextBlock" class="help-text form-text text-muted mb-4">
Enter your password
</small>
<button class="btn btn-info btn-block" type="submit">Sign Up</button>
<small id="loginLink" class="help-text form-text text-muted mb-4">
Already a member ? <a href="/login">Login</a>
</small>
{{#if errorMessage}}
<small id="error-message" class="form-text mb-4">{{errorMessage}}</small>
{{/if}}
</form>
</div>
</div>
</div>
</div>
<script src="/js/signup.js"></script>
</body>
{{>footer}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment