2025-12-29 15:22:15 +05:30
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
|
|
{% block title %}Update CIT Record{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block extra_css %}
|
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/add_cit.css') }}">
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
|
|
|
|
<h2>Update CIT Record for AY {{ record.year }}</h2>
|
|
|
|
|
|
|
|
|
|
<form method="POST" action="{{ url_for('update_cit', id=record.id) }}">
|
|
|
|
|
|
|
|
|
|
<label for="year">Year:</label>
|
|
|
|
|
<input type="text" id="year" name="year" value="{{ record.year }}" readonly class="readonly-field">
|
|
|
|
|
|
2026-01-06 15:52:08 +05:30
|
|
|
{% for field in record.keys() if field not in ['id', 'year','Remarks'] %}
|
2025-12-29 15:22:15 +05:30
|
|
|
<label for="{{ field }}">{{ field.replace("_", " ").title() }}:</label>
|
|
|
|
|
<input type="number" id="{{ field }}" name="{{ field }}" step="any" value="{{ record[field] }}" required>
|
|
|
|
|
{% endfor %}
|
2026-01-06 15:52:08 +05:30
|
|
|
<label for="Remarks">Remarks:</label>
|
|
|
|
|
<input type="text" id="Remarks" name="Remarks" value="{{ record.Remarks }}">
|
2025-12-29 15:22:15 +05:30
|
|
|
|
|
|
|
|
<button type="submit">Update Record</button>
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|