Commit 9dbdecb8 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

shows dash if no major selected

parent 8805bbba
......@@ -48,7 +48,13 @@
<table class="table table-hover text-center">
<tbody>
<tr>
<td><h4><strong>Major</strong>: {{ student.major.name }}</h4></td>
<td><h4><strong>Major</strong>:
{% if student.major %}
{{ student.major.name }}
{% else %}
&nbsp;&mdash;
{% endif %}
</h4></td>
</tr>
<tr>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment