Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 33 lines (32 sloc) 1.4 KB
<!DOCTYPE html>
<title><%= title %></title>
<link rel='stylesheet' href='/stylesheets/style.css' />
<div class="container">
<div class="row">
<div class="col-sm-6 col-md-4 col-md-offset-4">
<h1 class="text-center">Sign up</h1>
<form action="/signup" method="POST" class="form-signin">
<input type="text" name="username" placeholder="Username" required="required" autofocus="autofocus" class="form-control"/>
<input type="password" name="password" placeholder="Password" required="required" class="form-control nomargin"/>
<input type="email" name="email" placeholder="Email" required="required" class="form-control"/>
<input type="text" name="firstName" placeholder="First Name" required="required" class="form-control"/>
<input type="text" name="lastName" placeholder="Last Name" required="required" class="form-control"/>
<button type="submit" class="btn btn-lg btn-primary btn-block">Sign up</button><span class="clearfix"></span>
<%# If an error occurs, a message will asynchronously appear. %>
<% if (message.length > 0) { %>
<h1 class="text-center"><%= message %></h1>
<% } %>
You can’t perform that action at this time.