Browse Source

Render invite users form correctly.

Rafał Pitoń 12 years ago
parent
commit
08b4c9d2dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/cranefly/private_threads/posting.html

+ 1 - 1
templates/cranefly/private_threads/posting.html

@@ -62,7 +62,7 @@
             {{ form_theme.row(form.thread_name, attrs={'class': 'span8'}) }}
             {{ form_theme.row(form.thread_name, attrs={'class': 'span8'}) }}
             {% endif %}
             {% endif %}
             {% if action == 'new_thread' and 'invite_users' in form.fields %}
             {% if action == 'new_thread' and 'invite_users' in form.fields %}
-            {{ form_theme.row(form.fields.invite_users, width=8) }}
+            {{ form_theme.row(form.invite_users, attrs={'class': 'span8', 'placeholder': _("User1, User2, User3...")}) }}
             {% endif %}
             {% endif %}
             {% if 'thread_name' in form.fields or (action == 'new_thread' and 'invite_users' in form.fields) %}
             {% if 'thread_name' in form.fields or (action == 'new_thread' and 'invite_users' in form.fields) %}
             <hr>
             <hr>