Permalink
Browse files

screenshots flow cleanup

  • Loading branch information...
potch committed Sep 29, 2010
1 parent d6653d7 commit bc82b51e6a0c0ee927fbc538e1047f726b3569e3
Showing with 8 additions and 4 deletions.
  1. +1 −1 apps/games/templates/games/edit.html
  2. +7 −3 apps/games/templates/games/screenshot_delete.html
@@ -33,7 +33,7 @@ <h3>Upload a new screenshot</h3>
<li>Please fix the errors and submit again.</li>
</ul>
{% endif %}
<form method="post">
<form method="post" action="{% url games.edit game.id %}">
{% csrf_token %}
<ul>
<!-- {{ form.as_ul }} -->
@@ -1,12 +1,16 @@
{% extends "games/base.html" %}
{% block class %}screenshots{% endblock %}
{% block content %}
<h1>Delete screenshot</h1>
<p>Are you sure you want to delete the screenshot? This cannot be undone!</p>
<p><b>Are you sure you want to delete the screenshot? This cannot be undone!</b></p>
<img src="{{ screenshot.get_absolute_url }}"/>
<form method="post">
{% csrf_token %}
<input type="submit" value="Delete it!"/>
<p>
<input type="submit" value="Delete it!"/> or <b><a href="{% url games.edit game.id %}">Cancel</a></b>
</p>
</form>
<a href="{% url games.screenshots game.id %}">Cancel</a>
{% endblock %}

0 comments on commit bc82b51

Please sign in to comment.