Skip to content

Commit

Permalink
change_pin.html form changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyneira committed Sep 1, 2017
1 parent 37f1a89 commit 33f6aec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 7 additions & 3 deletions templates/change_pin.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,26 @@
<div class="container" id="student">
<div class="card medium hoverable m6" id="student-card">
<div class="card-content">
<span class="card-title" >Student Login</span>
<span class="card-title" >Change Pin</span>
<form action="/student_login" method="post">
<div class="row">
<div class="input-field col s12">
<select name="student_id" id="student">
<option value="{{ student.id }}">{{ student.last_name }}, {{ student.first_name }}</option>
<option value="{{ student.id }}" selected>{{ student.last_name }}, {{ student.first_name }}</option>
<label for="student">Students</label>
</select>
</div><br><br>
<div class="input-field col s12">
<label for="pin">Pin</label>
<input class="validate" id="pin" name="pin" type="password">
</div>
<div class="input-field col s12">
<label for="confirm_pin">Confirm Pin</label>
<input class="validate" id="confirm_pin" name="confirm_pin" type="password">
</div>
</div>
<div class="row">
<button class="btn waves-effect waves-light cyan right" type="submit" name="action">Sign-In</button>
<button class="btn waves-effect waves-light cyan right" type="submit" name="action">Change Pin</button>
</div>
</form>
</div>
Expand Down
1 change: 0 additions & 1 deletion templates/student_login.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<div class="row">
<div class="input-field col s12">
<select name="student_id" id="students">
<!-- <option value="" disabled selected>Select your name</option> -->
{% for student in students %}
<option value="{{ student.id }}">{{ student.last_name }}, {{ student.first_name }}</option>
{% endfor %}
Expand Down

0 comments on commit 33f6aec

Please sign in to comment.