Skip to content

Commit

Permalink
fix add leave comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tubo committed May 31, 2024
1 parent 3accc89 commit 15ca723
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion radscheduler/templates/leaves/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ <h3>Add new leave</h3>
</div>
<div class="col-md-4">
{% with form.errors.comment as error %}
<label for="inputComment" class="form-label" name="comment">Comment</label>
<label for="inputComment" class="form-label">Comment</label>
<input type="text"
class="form-control {% if error %}is-invalid{% endif %}"
name="comment"
id="inputComment" />
{% if error %}<div class="invalid-feedback">{{ error }}</div>{% endif %}
{% endwith %}
Expand Down

0 comments on commit 15ca723

Please sign in to comment.