summaryrefslogtreecommitdiff
path: root/objectapp/templates/objectapp
diff options
context:
space:
mode:
authorcsitifr <csitifr@gmail.com>2012-05-28 19:14:51 +0530
committercsitifr <csitifr@gmail.com>2012-05-28 19:14:51 +0530
commitacf4446f9544f9ceb1217997afbebe68dc1ef03a (patch)
tree8ccfc00977c23735c3e2da669e7a80932e54ed51 /objectapp/templates/objectapp
parentc1143a5cb0866541216ea5d0a6d9703af6f04e6d (diff)
downloadgnowsys-acf4446f9544f9ceb1217997afbebe68dc1ef03a.tar.gz
Error in gbobject_detail corrected
Diffstat (limited to 'objectapp/templates/objectapp')
-rw-r--r--objectapp/templates/objectapp/gbobject_detail.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/objectapp/templates/objectapp/gbobject_detail.html b/objectapp/templates/objectapp/gbobject_detail.html
index 70ed1668..e4574206 100644
--- a/objectapp/templates/objectapp/gbobject_detail.html
+++ b/objectapp/templates/objectapp/gbobject_detail.html
@@ -76,9 +76,7 @@
<br/>
<p><br/>
-
-{% if user.is_authenticated %}
-<b>Add Attributes: </b>
+<b>AddAttributes: </b>
<input type="hidden" id="id_object" value="{{ object.title }}"/>
{% for i in object.getattributetypes %}
<a href="{{ get_absolute_url }}/objects/dynamicAttribute/save/{{ i }}/{{ object.title }}/">{{ i }}</a><nbsp>;
@@ -90,7 +88,6 @@
<a href=" {{ get_absolute_url }}/objects/dynamicRelation/displaymem/{{ i }}/{{ object.title }}/">{{ i }}</a><nbsp>;
{% endfor %}
</p>
-{% endif %}
{% block gbobject-widgets %}
<div class="gbobject-widgets span-16 last">
@@ -143,9 +140,10 @@
<h3>{% trans "Similar objects" %}</h3>
{% get_similar_gbobjects 5 %}
</div>
-
+</div>
{% endblock %}
+
{% block gbobject-comments %}
<div id="comments" class="span-16 last">
<h3>{% trans "Comments" %}</h3>