Add new fields to InfluenceForm
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 13 Jan 2009 17:28:19 +0000 (18:28 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 13 Jan 2009 17:28:19 +0000 (18:28 +0100)
It now also shows other_characters and other_contacts.

influences/forms.py

index a5f414fcf3a5b4f0392a36f9ff0b3b771a10afed..8ced120dcd8d1e854832cf7c43514f7ba4fe5270 100644 (file)
@@ -67,7 +67,7 @@ def _get_influence_comment_form(allow_markup, allow_public, allow_private):
 class InfluenceForm(ContextModelForm):
     class Meta:
         model = Influence
-        fields = ('initiator', 'contact', 'summary', 'description')
+        fields = ('initiator', 'summary', 'other_characters', 'other_contacts', 'description')
 
 class CharacterForm(ContextModelForm):
     class Meta: