<?php
/**
 * NOTICE OF LICENSE
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
 * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 * @category NoGlitchYo
 * @package NoGlitchYo_Google_Recaptcha
 * @author Maxime ELOMARI <maxime.elomari@gmail.com>
 * @copyright Copyright (c) 2015, Maxime Elomari
 * @license http://opensource.org/licenses/MIT
 */

?>

<?php
/** @var $this NoGlitchYo_GoogleRecaptcha_Block_Widget */
?>
<?php echo $this->getChildHtml('grecaptcha_api') ?>
<script type="text/javascript">
    var onloadCallback = function() {
        grecaptcha.render('g_recaptcha', {
           'sitekey' : '<?php echo $this->getKey() ?>'
        });
    };
</script>
<div id="g_recaptcha"></div>

<?php
/**
 * NOTICE OF LICENSE
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
 * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 *
 * @category NoGlitchYo
 * @package NoGlitchYo_Google_Recaptcha
 * @author Maxime ELOMARI <maxime.elomari@gmail.com>
 * @copyright Copyright (c) 2015, Maxime Elomari
 * @license http://opensource.org/licenses/MIT
 */

?>

<?php
/** @var $this NoGlitchYo_GoogleRecaptcha_Block_Widget */
?>
<?php echo $this->getChildHtml('grecaptcha_api') ?>
<script type="text/javascript">
    var onloadCallback = function() {
        grecaptcha.render('g_recaptcha', {
           'sitekey' : '<?php echo $this->getKey() ?>'
        });
    };
</script>
<div id="g_recaptcha" class="grecaptcha"></div>
<style>
.grecaptcha {
    clear: both;
    padding: 15px 0;
}
.grecaptcha div div {
    margin: 0 auto;
}
</style>

Fix display bug on backend login
Fix display bug on backend login
