# Redirect to the just saved influence
return HttpResponseRedirect(reverse('influences_influence_detail', args=[influence.id]))
- return render_to_response('influences/add.html', {'form' : f}, RequestContext(request))
+ return render_to_response('influences/add_influence.html', {'form' : f}, RequestContext(request))
@login_required
def add_character(request):
+++ /dev/null
-{% extends "base/base.html" %}
-{% load i18n %}
-
-{% block content %}
-
-<h1>{% trans "Submit influence" %}</h1>
-{% if form %}
-<p>
-{% blocktrans %}You can submit an influence here. Use this form if your character wants
-to achieve something between events, such as gathering information
-through a contact, arranging for an ally to do a dirty job, etc. Please
-add a clear description of <em>what</em> your character wants to achieve
-and <em>how</em> he or she plans to achieve it.{% endblocktrans %}
-</p>
-<p>
-{% blocktrans %}After you have submitted the influence, you will receive
-a summary by email. When the SLs change something about the influence,
-or add a resolution, you will again be notified by email.{% endblocktrans %}
-</p>
-<form method="POST">
-<table>
-{{ form.as_table }}
-</table>
-<input type="submit" value="{% trans "Submit" %}"/>
-</form>
-{% endif %}
-
-{% endblock %}
--- /dev/null
+{% extends "base/base.html" %}
+{% load i18n %}
+
+{% block content %}
+
+<h1>{% trans "Submit influence" %}</h1>
+{% if form %}
+<p>
+{% blocktrans %}You can submit an influence here. Use this form if your character wants
+to achieve something between events, such as gathering information
+through a contact, arranging for an ally to do a dirty job, etc. Please
+add a clear description of <em>what</em> your character wants to achieve
+and <em>how</em> he or she plans to achieve it.{% endblocktrans %}
+</p>
+<p>
+{% blocktrans %}After you have submitted the influence, you will receive
+a summary by email. When the SLs change something about the influence,
+or add a resolution, you will again be notified by email.{% endblocktrans %}
+</p>
+<form method="POST">
+<table>
+{{ form.as_table }}
+</table>
+<input type="submit" value="{% trans "Submit" %}"/>
+</form>
+{% endif %}
+
+{% endblock %}