Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
haitv282 committed Jul 24, 2018
1 parent 0a16d9b commit fdce38b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "mageplaza/magento-2-social-login",
"description": "Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps",
"require": {
"mageplaza/module-core": "^1.3.12",
"mageplaza/module-core": "^1.3.13",
"hybridauth/hybridauth": "^2.11.0"
},
"type": "magento2-module",
"version": "2.6.2",
"version": "2.7.0",
"license": "proprietary",
"authors": [
{
Expand Down
7 changes: 4 additions & 3 deletions view/frontend/templates/popup/form/authentication.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@
<form class="form-customer-login" id="social-form-login" data-mage-init='{"validation":{}}'>
<?php echo $block->getBlockHtml('formkey'); ?>
<fieldset class="fieldset login" data-hasrequired="<?php echo __('* Required Fields') ?>">
<?php echo $block->getChildHtml('form_before_login_fields'); ?>
<div class="field email required">
<label class="label" for="email"><span><?php echo __('Email') ?></span></label>
<label class="label" for="social_login_email"><span><?php echo __('Email') ?></span></label>
<div class="control">
<input name="username" id="email" type="email" class="input-text"
<input name="username" id="social_login_email" type="email" class="input-text"
value="<?php echo $block->escapeHtml($block->getUsername()) ?>"<?php if ($block->isAutocompleteDisabled()): ?> autocomplete="off"<?php endif; ?>
title="<?php echo __('Email') ?>"
data-validate="{required:true, 'validate-email':true}">
Expand All @@ -44,7 +45,7 @@
<div class="field password required">
<label for="pass" class="label"><span><?php echo __('Password') ?></span></label>
<div class="control">
<input name="password" id="pass" type="password"
<input name="password" id="social_login_pass" type="password"
class="input-text"<?php if ($block->isAutocompleteDisabled()): ?> autocomplete="off"<?php endif; ?>
title="<?php echo __('Password') ?>"
data-validate="{required:true, 'validate-password':true}">
Expand Down

0 comments on commit fdce38b

Please sign in to comment.