Skip to content

Commit

Permalink
Fix typo_url form error handling in downloader template
Browse files Browse the repository at this point in the history
The typo which prevented proper repo_url form error handling in the downloader.html template has been fixed. This characterized by correcting the 'repo_url_form.repo_url.error' to 'repo_url_form.repo_url.errors' for accurate error rendering.
  • Loading branch information
dmwyatt committed Mar 31, 2024
1 parent 685036c commit 0f4d531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/downloader.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h1>GitHub Repository Downloader</h1>
{% csrf_token %}
{{ repo_url_form.repo_url.label }}
{{ repo_url_form.repo_url }}
{% if repo_url_form.repo_url.error %}
{% if repo_url_form.repo_url.errors %}
<div class="error-message">
{{ repo_url_form.repo_url.errors }}
</div>
Expand Down

0 comments on commit 0f4d531

Please sign in to comment.