]> git.parisson.com Git - teleforma.git/commitdiff
fix register form url
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 9 Feb 2015 17:24:49 +0000 (18:24 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 9 Feb 2015 17:24:49 +0000 (18:24 +0100)
teleforma/templates/registration/registration_complete.html

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