Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #92 from SaturdayNeighborhoodHealthClinic/tab-home
Browse files Browse the repository at this point in the history
Another patient.id patient.demographics.id mismatch fix
  • Loading branch information
nakul2234 committed Jan 23, 2016
2 parents 1d7d9e8 + be49a83 commit 1c7c309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pttrack/templates/pttrack/patient_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h3>&nbsp;&nbsp;Demographic Information</h3>
{% if patient.demographics %}
<a href="{% url 'demographics-detail' patient.demographics.id %}" class="btn btn-default" role="button">See Patient Survey Data</a>
{% else %}
<div class="alert alert-danger" role="alert"><strong>Warning!</strong> There is no survey data for this patient. Please click on the following pencil to enter the data: <a href="{% url 'demographics-create' patient.demographics.id %}">{% bootstrap_icon "pencil" %}</a></div>
<div class="alert alert-danger" role="alert"><strong>Warning!</strong> There is no survey data for this patient. Please click on the following pencil to enter the data: <a href="{% url 'demographics-create' patient.id %}">{% bootstrap_icon "pencil" %}</a></div>
{% endif %}
</div>
</div>
Expand Down

0 comments on commit 1c7c309

Please sign in to comment.