diff --git a/ram/portal/templates/cards.html b/ram/portal/templates/cards.html
index b1da629..6575f78 100644
--- a/ram/portal/templates/cards.html
+++ b/ram/portal/templates/cards.html
@@ -56,7 +56,7 @@
Manufacturer |
{%if d.manufacturer %}
- {{ d.manufacturer }}{% if d.manufactured.website %} {% endif %}
+ {{ d.manufacturer }}{% if d.manufacturer.website %} {% endif %}
{% endif %} |
diff --git a/ram/portal/templates/consists.html b/ram/portal/templates/consists.html
index 2c2642f..ff95e49 100644
--- a/ram/portal/templates/consists.html
+++ b/ram/portal/templates/consists.html
@@ -64,12 +64,12 @@
{% endfor %}
{% endblock %}
{% block pagination %}
- {% if consist.has_other_pages %}
+ {% if data.has_other_pages %}