Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix adduser input #82

Merged
merged 1 commit into from
Mar 31, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions public/adduser.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,28 @@ <h1 class="header__heading">Add yourself to our Community!</h1>

<form id="form" class="form" action="/addusers" method="post">
<label for="first name">First name:</label>
<input class="form__input" type="text" id="first_name" name="first_name" placeholder="Enter your first name" />
<input class="form__input" type="text" id="first_name" name="first_name" placeholder="Enter your first name" required/>
<label for="middle name">Middle name:</label>
<input class="form__input" type="text" id="middle_name" name="middle_name" placeholder="Enter your middle name" />
<label for="last name">Last name:</label>
<input class="form__input" type="text" id="last_name" name="last_name" placeholder="Enter your last name" />
<input class="form__input" type="text" id="last_name" name="last_name" placeholder="Enter your last name" required/>
<label for="github user name">Github username:</label>
<input class="form__input" type="text" id="github_user_name" name="github_user_name" placeholder="Enter your Github username" />
<input class="form__input" type="text" id="github_user_name" name="github_user_name" placeholder="Enter your Github username" required/>
<label for="nationality">Nationality:</label>
<input class="form__input" type="text" id="nationality" name="nationality" placeholder="Enter your nationality" />
<input class="form__input" type="text" id="nationality" name="nationality" placeholder="Enter your nationality" required/>
<label for="languages">Languages:</label>
<input class="form__input" type="text" id="languages" name="languages" placeholder="Enter the languages you speak, separated by commas" />
<input class="form__input" type="text" id="languages" name="languages" placeholder="Enter the languages you speak, separated by commas" required/>
<label for="place of birth">Place of birth:</label>
<input class="form__input" type="text" id="place_of_birth" name="place_of_birth" placeholder="Enter your place of birth" />
<input class="form__input" type="text" id="place_of_birth" name="place_of_birth" placeholder="Enter your place of birth" required/>
<label for="favorite hobby">Favourite Hobby:</label>
<input class="form__input" type="text" id="favorite_hobby" name="favorite_hobby" placeholder="What is your favourite hobby?" />
<input class="form__input" type="text" id="favorite_hobby" name="favorite_hobby" placeholder="What is your favourite hobby?" required/>
<label for="favorite book">Favourite book:</label>
<input class="form__input" type="text" id="favorite_book" name="favorite_book" placeholder="What is your favourite book?" />
<input class="form__input" type="text" id="favorite_book" name="favorite_book" placeholder="What is your favourite book?" required/>
<label for="siblings">Number of siblings:</label>
<input class="form__input" type="text" id="siblings" name="siblings" placeholder="How many siblings do you have?" />
<input class="form__input" type="number" id="siblings" name="siblings" placeholder="How many siblings do you have?" required/>
<!-- <label for="profilepic">Profile pic:</label>
<input class="form__input" type="file" id="profilepic" name="profilepic" /> -->
<input type="submit" value="Create Profile" />
<input class="form__input" type="url" id="profilepic" name="profilepic" />
<input type="submit" value="Create Profile" /> -->
</form>


Expand Down