euscanwww: Fixing preferences form errors

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino 2012-08-15 15:25:22 +02:00
parent d8de359256
commit 68da776d07

View File

@ -34,15 +34,15 @@
<thead><tr><th>Personal settings</th></tr></thead> <thead><tr><th>Personal settings</th></tr></thead>
<tr> <tr>
<th>{{ form.first_name.label_tag }}</th> <th>{{ form.first_name.label_tag }}</th>
<td><ul class="errorlist">{{ form.first_name.errors }}</ul>{{ form.first_name }}</td> <td>{% if form.first_name.errors %}<ul class="errorlist">{{ form.first_name.errors }}</ul>{% endif %}{{ form.first_name }}</td>
</tr> </tr>
<tr> <tr>
<th>{{ form.last_name.label_tag }}</th> <th>{{ form.last_name.label_tag }}</th>
<td><ul class="errorlist">{{ form.last_name.errors }}</ul>{{ form.last_name }}</td> <td>{% if form.last_name.errors %}<ul class="errorlist">{{ form.last_name.errors }}</ul>{% endif %}{{ form.last_name }}</td>
</tr> </tr>
<tr> <tr>
<th>{{ form.email.label_tag }}</th> <th>{{ form.email.label_tag }}</th>
<td><ul class="errorlist">{{ form.email.errors }}</ul>{{ form.email }}</td> <td>{% if form.first_name.errors %}<ul class="errorlist">{{ form.email.errors }}</ul>{% endif %} {{ form.email }}</td>
</tr> </tr>
</table> </table>
@ -50,27 +50,27 @@
<thead><tr><th>Feed settings</th></tr></thead> <thead><tr><th>Feed settings</th></tr></thead>
<tr> <tr>
<th>{{ form.feed_upstream_info.label_tag }}</th> <th>{{ form.feed_upstream_info.label_tag }}</th>
<td><ul class="errorlist">{{ form.feed_upstream_info.errors }}</ul>{{ form.feed_upstream_info }}</td> <td>{{ form.feed_upstream_info }}</td>
</tr> </tr>
<tr> <tr>
<th>{{ form.feed_portage_info.label_tag }}</th> <th>{{ form.feed_portage_info.label_tag }}</th>
<td><ul class="errorlist">{{ form.feed_portage_info.errors }}</ul>{{ form.feed_portage_info }}</td> <td>{{ form.feed_portage_info }}</td>
</tr> </tr>
<tr> <tr>
<th>{{ form.feed_show_adds.label_tag }}</th> <th>{{ form.feed_show_adds.label_tag }}</th>
<td><ul class="errorlist">{{ form.feed_show_adds.errors }}</ul>{{ form.feed_show_adds }}</td> <td>{{ form.feed_show_adds }}</td>
</tr> </tr>
<tr> <tr>
<th>{{ form.feed_show_removals.label_tag }}</th> <th>{{ form.feed_show_removals.label_tag }}</th>
<td><ul class="errorlist">{{ form.feed_show_removals.errors }}</ul>{{ form.feed_show_removals }}</td> <td>{{ form.feed_show_removals }}</td>
</tr> </tr>
<tr> <tr>
<th>{{ form.feed_ignore_pre.label_tag }}</th> <th>{{ form.feed_ignore_pre.label_tag }}</th>
<td><ul class="errorlist">{{ form.feed_ignore_pre.errors }}</ul>{{ form.feed_ignore_pre }}</td> <td>{{ form.feed_ignore_pre }}</td>
</tr> </tr>
<tr> <tr>
<th>{{ form.feed_ignore_pre_if_stable.label_tag }}</th> <th>{{ form.feed_ignore_pre_if_stable.label_tag }}</th>
<td><ul class="errorlist">{{ form.feed_ignore_pre_if_stable.errors }}</ul>{{ form.feed_ignore_pre_if_stable }}</td> <td>{{ form.feed_ignore_pre_if_stable }}</td>
</tr> </tr>
</table> </table>
@ -78,19 +78,19 @@
<thead><tr><th>Mail settings</th></tr></thead> <thead><tr><th>Mail settings</th></tr></thead>
<tr> <tr>
<th>{{ form.email_activated.label_tag }}</th> <th>{{ form.email_activated.label_tag }}</th>
<td><ul class="errorlist">{{ form.email_activated.errors }}</ul>{{ form.email_activated }}</td> <td>{{ form.email_activated }}</td>
</tr> </tr>
<tr> <tr>
<th>{{ form.email_every.label_tag }}</th> <th>{{ form.email_every.label_tag }}</th>
<td><ul class="errorlist">{{ form.email_every.errors }}</ul>{{ form.email_every }}</td> <td>{{ form.email_every }}</td>
</tr> </tr>
<tr> <tr>
<th>{{ form.email_ignore_pre.label_tag }}</th> <th>{{ form.email_ignore_pre.label_tag }}</th>
<td><ul class="errorlist">{{ form.email_ignore_pre.errors }}</ul>{{ form.email_ignore_pre }}</td> <td>{{ form.email_ignore_pre }}</td>
</tr> </tr>
<tr> <tr>
<th>{{ form.email_ignore_pre_if_stable.label_tag }}</th> <th>{{ form.email_ignore_pre_if_stable.label_tag }}</th>
<td><ul class="errorlist">{{ form.email_ignore_pre_if_stable.errors }}</ul>{{ form.email_ignore_pre_if_stable }}</td> <td>{{ form.email_ignore_pre_if_stable }}</td>
</tr> </tr>
<tr><td>&nbsp;</td><td></td></tr> <tr><td>&nbsp;</td><td></td></tr>
<tr> <tr>