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

Modified Hostel allocation ,Room allocation ,Added Room Swaps ,Room change #1621

Open
wants to merge 20 commits into
base: latest_staging
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
modified student details ,checks for fixed value
Iamankit45 committed Jul 5, 2024
commit 7885b7b30743622b6d702403298c22c76f28c570
14 changes: 7 additions & 7 deletions FusionIIIT/templates/hostelmanagement/edit_student.html
Original file line number Diff line number Diff line change
@@ -29,29 +29,29 @@ <h2>Edit Student Details</h2>
<form method="post" class="ui form" action="{% url 'hostelmanagement:edit_student' student.id.id %}">
{% csrf_token %}
<label for="roll_number">Roll Number</label>
<input type="text" id="roll_number" name="roll_number" value="{{student.id.id}}"><br>
<input type="text" id="roll_number" name="roll_number" value="{{student.id.id}}" readonly style="border: 1px solid red;"><br>
<span id="roll_error" style="color: red;"></span><br>

<label for="first_name">First Name:</label>
<input type="text" id="first_name" name="first_name" value="{{ student.id.user.first_name }}"><br>
<input type="text" id="first_name" name="first_name" value="{{ student.id.user.first_name }}" readonly style="border: 1px solid red;"><br>
<span id="first_name_error" style="color: red;"></span><br>

<label for="programme">Programme:</label>
<input type="text" id="programme" name="programme" value="{{ student.programme }}"><br>
<input type="text" id="programme" name="programme" value="{{ student.programme }}" readonly style="border: 1px solid red;"><br>
<span id="programme_error" style="color: red;"></span><br>

<label for="batch">Batch:</label>
<input type="text" id="batch" name="batch" value="{{ student.batch }}"><br>
<input type="text" id="batch" name="batch" value="{{ student.batch }}" readonly style="border: 1px solid red;"><br>
<span id="batch_error" style="color: red;"></span><br>

<label for="hall_number">Hall Number:</label>
<input type="text" id="hall_number" name="hall_number" value="{{ student.hall_no }}"><br>
<input type="text" id="hall_number" name="hall_number" value="{{ student.hall_no }}" readonly style="border: 1px solid red;"><br>

<label for="room_number">Room Number:</label>
<input type="text" id="room_number" name="room_number" value="{{ student.room_no }}"><br>
<input type="text" id="room_number" name="room_number" value="{{ student.room_no }}" readonly style="border: 1px solid red;"><br>

<label for="specialization">Specialization:</label>
<input type="text" id="specialization" name="specialization" value="{{ student.specialization }}"><br>
<input type="text" id="specialization" name="specialization" value="{{ student.specialization }}" readonly style="border: 1px solid red;"><br>

<label for="phone_number">Contact Number:</label>
<input type="number" id="phone_number" name="phone_number" value="{{ student.id.phone_no }}"><br>