From fb9410f1dccaba6213c7225d5d3256022a1f2274 Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Wed, 2 Dec 2015 15:37:15 -0500
Subject: [PATCH] Fix aligning of recaptcha in account form.

---
 themes/bootstrap3/templates/myresearch/account.phtml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/themes/bootstrap3/templates/myresearch/account.phtml b/themes/bootstrap3/templates/myresearch/account.phtml
index 22e742f9f2d..dbd29f4ba83 100644
--- a/themes/bootstrap3/templates/myresearch/account.phtml
+++ b/themes/bootstrap3/templates/myresearch/account.phtml
@@ -10,7 +10,13 @@
 
 <form method="post" name="accountForm" id="accountForm" class="form-horizontal" data-toggle="validator" role="form">
   <?=$this->auth()->getCreateFields()?>
-  <?=$this->recaptcha()->html($this->useRecaptcha) ?>
+  <? if ($this->useRecaptcha): ?>
+    <div class="form-group">
+      <div class="col-sm-9 col-sm-offset-3">
+        <?=$this->recaptcha()->html($this->useRecaptcha) ?>
+      </div>
+    </div>
+  <? endif; ?>
   <div class="form-group">
     <div class="col-sm-3">
       <a class="back-to-login btn btn-link" href="<?=$this->url('myresearch-userlogin') ?>"><i class="fa fa-chevron-left"></i> <?=$this->transEsc('Back')?></a>
-- 
GitLab