Mercurial > public > sg101
diff gpp/templates/downloads/download.html @ 404:41411066b16d
Fixing #199; redid the downloads so the user has more control about how to save the file.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 27 Mar 2011 23:21:17 +0000 |
parents | 88b2b9cb8c1f |
children | f469261d617b |
line wrap: on
line diff
--- a/gpp/templates/downloads/download.html Sun Mar 27 18:22:48 2011 +0000 +++ b/gpp/templates/downloads/download.html Sun Mar 27 23:21:17 2011 +0000 @@ -6,7 +6,6 @@ </dt> <dd> {{ download.html|safe }} -<form action="{% url 'downloads-download' download.id %}" method="post">{% csrf_token %} <table> <tr> <th>Added By:</th> @@ -23,7 +22,6 @@ <th><img src="{{ STATIC_URL }}icons/comments.png" alt="Comments" title="Comments" /> <a href="{% url 'downloads-details' download.id %}">Comments</a>:</th><td>{{ comment_count }}</td> </tr> -<tr><td><input type="submit" value="Download Now" /></td></tr> </table> -</form> +<div id="link-{{ download.id }}"><button type="button" class="dl-button" id="dl-{{ download.id }}">Download</button></div> </dd>