[tor-commits] [bridgedb/master] Cleanup captcha.html template.

isis at torproject.org isis at torproject.org
Sat Apr 19 17:02:42 UTC 2014


commit 72d5f0c95031756e64c7f5de68967468ffbf747e
Author: Isis Lovecruft <isis at torproject.org>
Date:   Mon Apr 7 03:14:40 2014 +0000

    Cleanup captcha.html template.
    
      * FIX the "Type the two words" alt text by changing it to "Type the
        word".
      * CHANGE the "I am human" button to say "Submit".
---
 lib/bridgedb/templates/captcha.html |   32 ++++++++++++++++++++------------
 1 file changed, 20 insertions(+), 12 deletions(-)

diff --git a/lib/bridgedb/templates/captcha.html b/lib/bridgedb/templates/captcha.html
index a670072..74866ce 100644
--- a/lib/bridgedb/templates/captcha.html
+++ b/lib/bridgedb/templates/captcha.html
@@ -1,16 +1,24 @@
 ## -*- coding: utf-8 -*-
 <%inherit file="base.html"/>
 <div class="captcha">
-<form action="" method="POST">
-  <input type="hidden" name="captcha_challenge_field"
-    id="captcha_challenge_field" value="${challenge_field}">
-  <img width="300" height="57"
-       alt="${_('Your browser is not displaying images properly.')}"
-       src="${imgstr}">
-  <div class="captcha_input_area">
-    <label for="captcha_response_field">${_("Type the two words")}</label></div>
-  <input name="captcha_response_field" id="captcha_response_field"
-         type="text" autocomplete="off">
-  <input class="btn btn-success" type="submit" name="submit" value="I am human">
-</form>
+  <form action="" method="POST">
+    <input type="hidden"
+           name="captcha_challenge_field"
+           id="captcha_challenge_field"
+           value="${challenge_field}">
+    <img width="300"
+         height="57"
+         alt=${_("Your browser is not displaying images properly.")}
+         src="${imgstr}">
+    <div class="captcha_input_area">
+      <label for="captcha_response_field">${_("Type the word")}</label></div>
+    <input name="captcha_response_field"
+           id="captcha_response_field"
+           type="text"
+           autocomplete="off">
+    <input class="btn btn-primary"
+           type="submit"
+           name="submit"
+           value=${_("Submit")}>
+  </form>
 </div>





More information about the tor-commits mailing list