* Renamed character_addinfluence template to add.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 23 Jan 2008 19:18:59 +0000 (20:18 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 23 Jan 2008 19:18:59 +0000 (20:18 +0100)
influences/views.py
templates/influences/add.html [new file with mode: 0644]
templates/influences/character_addinfluence.html [deleted file]

index b13c83e6c3a9a5d1a99613c17196bf52303dc65a..84719024b46dfc642580a4719461936253370aa4 100644 (file)
@@ -32,7 +32,7 @@ def add(request, character_id):
         # Only allow characters of the current user
         f.fields['character']._set_queryset(request.user.character_set.all())
 
-    return render_to_response('influences/character_addinfluence.html', {'message' : message, 'form' : f})
+    return render_to_response('influences/add.html', {'message' : message, 'form' : f})
 
 def addCharacter(request):
     message = None
diff --git a/templates/influences/add.html b/templates/influences/add.html
new file mode 100644 (file)
index 0000000..db277e9
--- /dev/null
@@ -0,0 +1,13 @@
+{% load i18n %}
+<h2>{% trans "Submit influence" %}</h2>
+{% if message %}
+{{ message }}
+{% endif %}
+{% if form %}
+<form method="POST">
+<table>
+{{ form.as_table }}
+</table>
+<input type="submit" value="{% trans "Submit" %}"/>
+</form>
+{% endif %}
diff --git a/templates/influences/character_addinfluence.html b/templates/influences/character_addinfluence.html
deleted file mode 100644 (file)
index db277e9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-{% load i18n %}
-<h2>{% trans "Submit influence" %}</h2>
-{% if message %}
-{{ message }}
-{% endif %}
-{% if form %}
-<form method="POST">
-<table>
-{{ form.as_table }}
-</table>
-<input type="submit" value="{% trans "Submit" %}"/>
-</form>
-{% endif %}