Skip to content

Commit

Permalink
I forgot to add delete_mention template
Browse files Browse the repository at this point in the history
  • Loading branch information
bbotella committed Nov 4, 2013
1 parent 6383a88 commit fd4a048
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions mozbuzz/buzz/templates/buzz/delete_mention.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{% extends "base.html" %}{% load i18n query %}

{% block main_content %}
<h1>
Are you sure?
</h1>
<p>
Are you sure you want to delete the mention "{{ instance }}"? All of the following related items will be deleted:
</p>
<form method="post"
{% if pk %}
action="{% url "edit" pk %}"
{% endif %}
id="delete_mention_form">
{% csrf_token %}
{% if not pk and request.GET.rsspost %}
<input type="hidden" name="rsspost_hide" value="{{ request.GET.rsspost }}"/>
{% endif %}
<input type="submit" value="Are you sure?" />
</form>
{% endblock %}

{% block extrascript %}
<script src="{{MEDIA_URL}}js/readability.js" type="text/javascript"></script>
<script src="{{MEDIA_URL}}js/to-markdown.js" type="text/javascript"></script>
<script src="{{MEDIA_URL}}js/mozreadability.js" type="text/javascript"></script>
{% if is_new and form.initial.link|length > 10 %}
<script type="text/javascript">guessInformation();</script>
{% endif %}
<script>
{% endblock %}

0 comments on commit fd4a048

Please sign in to comment.