]> git.parisson.com Git - teleforma.git/commitdiff
fix register doc url
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 9 Feb 2015 11:11:43 +0000 (12:11 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 9 Feb 2015 11:11:43 +0000 (12:11 +0100)
teleforma/templates/registration/registration_complete.html

index 45109a525b10c1ca8a5f826e1fd21ad4a7e2b63c..4939dc6696121bc8f8a8043bf6c24509e3aa8b70 100644 (file)
@@ -20,7 +20,7 @@ Service inscription<br>
 75006 Paris
 <br><br><br>
 
-<a href="{{ register_doc_print.file.url }}" class="component_icon button" id="action_green"><img src="{{STATIC_URL}}telemeta/images/download.png" alt="" style="vertical-align:middle" />&nbsp;{% trans "Download" %}</a>
+<a href="{% url "teleforma-document-detail" register_doc_print.id %}" class="component_icon button" id="action_green"><img src="{{STATIC_URL}}telemeta/images/download.png" alt="" style="vertical-align:middle" />&nbsp;{% trans "Download" %}</a>
 
 </center>
 </div>