Skip to content
Snippets Groups Projects
Commit dd045996 authored by Brian Moe's avatar Brian Moe
Browse files

Don't show GRB attrs if they don't exist.

parent 3b5bb4f9
No related branches found
No related tags found
No related merge requests found
{% extends "gracedb/event_detail.html" %}
{% block analysis_specific %}
{% if object.grbevent %}
<table class="analysis_specific">
<tbody>
......@@ -21,16 +22,7 @@
<tr><td></td><th>Err</th><td>{{object.error_radius}}</td></tr>
</tbody>
</table>
{% endblock %}
ivorn = models.CharField(max_length=200, null=True)
author_ivorn = models.CharField(max_length=200, null=True)
author_shortname = models.CharField(max_length=200, null=True)
observatory_location_id = models.CharField(max_length=200, null=True)
coord_system = models.CharField(max_length=200, null=True)
ra = models.FloatField(null=True)
dec = models.FloatField(null=True)
error_radius = models.FloatField(null=True)
how_description = models.CharField(max_length=200, null=True)
how_reference_url = models.URLField(null=True)
{% endif %}
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment