From patchwork Wed Nov 9 19:26:16 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 4996 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 4CB7F23E0F for ; Wed, 9 Nov 2011 19:26:22 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 4173FA18896 for ; Wed, 9 Nov 2011 19:26:22 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id n26so2870852faa.11 for ; Wed, 09 Nov 2011 11:26:22 -0800 (PST) Received: by 10.152.112.10 with SMTP id im10mr2513331lab.2.1320866781676; Wed, 09 Nov 2011 11:26:21 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.10.72 with SMTP id g8cs183738lab; Wed, 9 Nov 2011 11:26:21 -0800 (PST) Received: by 10.227.57.147 with SMTP id c19mr2939160wbh.8.1320866777189; Wed, 09 Nov 2011 11:26:17 -0800 (PST) Received: from indium.canonical.com (indium.canonical.com. [91.189.90.7]) by mx.google.com with ESMTPS id fh16si977619wbb.74.2011.11.09.11.26.16 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Nov 2011 11:26:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) client-ip=91.189.90.7; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.7 as permitted sender) smtp.mail=bounces@canonical.com Received: from ackee.canonical.com ([91.189.89.26]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RODmq-0000fv-Mm for ; Wed, 09 Nov 2011 19:26:16 +0000 Received: from ackee.canonical.com (localhost [127.0.0.1]) by ackee.canonical.com (Postfix) with ESMTP id A3A5BE01E4 for ; Wed, 9 Nov 2011 19:26:16 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-server X-Launchpad-Branch: ~linaro-validation/lava-server/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 282 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-server/trunk] Rev 282: Use form layout in projects app Message-Id: <20111109192616.3833.74468.launchpad@ackee.canonical.com> Date: Wed, 09 Nov 2011 19:26:16 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="14263"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 4cefecf1cf93e536758592ead12c34ebc0093dbe ------------------------------------------------------------ revno: 282 committer: Zygmunt Krynicki branch nick: lava-server timestamp: Wed 2011-11-09 00:54:43 +0100 message: Use form layout in projects app modified: lava_projects/templates/lava_projects/_project_form.html --- lp:lava-server https://code.launchpad.net/~linaro-validation/lava-server/trunk You are subscribed to branch lp:lava-server. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription === modified file 'lava_projects/templates/lava_projects/_project_form.html' --- lava_projects/templates/lava_projects/_project_form.html 2011-09-24 19:18:28 +0000 +++ lava_projects/templates/lava_projects/_project_form.html 2011-11-08 23:54:43 +0000 @@ -1,4 +1,4 @@ -{% extends "layouts/content.html" %} +{% extends "layouts/form.html" %} {% block extrahead %} @@ -15,33 +15,5 @@ -
- {% block form_header %} - {% endblock %} - {% csrf_token %} - - {% for field in form %} - {% block form_field %} - - - - - {% endblock %} - {% endfor %} -
- {% if field.errors %} -
- {{ field.errors }} - {{ field }} -
- {% else %} - {{ field }} - {% endif %} -

{{ field.help_text }}

-
- {% block form_footer %} -

Continue

- - {% endblock %} -
+{{ block.super }} {% endblock %}