From 2adc1846684886f47feb3843e8cbcc23300175ee Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@lothar.com>
Date: Thu, 25 Jun 2009 16:18:24 -0700
Subject: [PATCH] make it possible to add/renew-lease from the WUI add
 add/renew-lease checkbox on the "more info" page check/deep-check forms

---
 src/allmydata/web/info.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/allmydata/web/info.py b/src/allmydata/web/info.py
index 0d1b2703..e7c42e60 100644
--- a/src/allmydata/web/info.py
+++ b/src/allmydata/web/info.py
@@ -153,6 +153,8 @@ class MoreInfo(rend.Page):
             ],
             T.div["Repair any problems?: ",
                   T.input(type="checkbox", name="repair")],
+            T.div["Add/renew lease on all shares?: ",
+                  T.input(type="checkbox", name="add-lease")],
             T.div["Emit results in JSON format?: ",
                   T.input(type="checkbox", name="output", value="JSON")],
 
@@ -207,6 +209,8 @@ class MoreInfo(rend.Page):
             ],
             T.div["Repair any problems?: ",
                   T.input(type="checkbox", name="repair")],
+            T.div["Add/renew lease on all shares?: ",
+                  T.input(type="checkbox", name="add-lease")],
             T.div["Emit results in JSON format?: ",
                   T.input(type="checkbox", name="output", value="JSON")],
 
-- 
2.45.2