[*] Registration type is now in 2 steps or all in one
// refactoring AuthController.php (front)
This commit is contained in:
1 parent
8ce076c617
commit
372c8dac4e
10 files changed
+711
-495
No files matched your search
@@ -115,6 +115,11 @@ $(function(){ldelim}
|
||||
|
||||
{include file="$tpl_dir./errors.tpl"}
|
||||
|
||||
{if isset($account_created)}
|
||||
<p class="success">
|
||||
{l s='Your account is now created. You can create your first address, or surf on this website.'}
|
||||
</p>
|
||||
{/if}
|
||||
<form action="{$link->getPageLink('address', true)}" method="post" class="std">
|
||||
<fieldset>
|
||||
<h3>{if isset($id_address)}{l s='Your address'}{else}{l s='New address'}{/if}</h3>
|
||||
|
||||
@@ -342,114 +342,133 @@ $(function(){ldelim}
|
||||
{foreach from=$days item=day}
|
||||
<option value="{$day|escape:'htmlall':'UTF-8'}" {if ($sl_day == $day)} selected="selected"{/if}>{$day|escape:'htmlall':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{*
|
||||
{l s='January'}
|
||||
{l s='February'}
|
||||
{l s='March'}
|
||||
{l s='April'}
|
||||
{l s='May'}
|
||||
{l s='June'}
|
||||
{l s='July'}
|
||||
{l s='August'}
|
||||
{l s='September'}
|
||||
{l s='October'}
|
||||
{l s='November'}
|
||||
{l s='December'}
|
||||
*}
|
||||
<select id="months" name="months">
|
||||
<option value="">-</option>
|
||||
{foreach from=$months key=k item=month}
|
||||
<option value="{$k|escape:'htmlall':'UTF-8'}" {if ($sl_month == $k)} selected="selected"{/if}>{l s="$month"} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<select id="years" name="years">
|
||||
<option value="">-</option>
|
||||
{foreach from=$years item=year}
|
||||
<option value="{$year|escape:'htmlall':'UTF-8'}" {if ($sl_year == $year)} selected="selected"{/if}>{$year|escape:'htmlall':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
{if isset($newsletter) && $newsletter}
|
||||
<p class="checkbox" >
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} />
|
||||
<label for="newsletter">{l s='Sign up for our newsletter'}</label>
|
||||
</p>
|
||||
<p class="checkbox" >
|
||||
<input type="checkbox"name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} />
|
||||
<label for="optin">{l s='Receive special offers from our partners'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
</fieldset>
|
||||
<fieldset class="account_creation">
|
||||
<h3>{l s='Your address'}</h3>
|
||||
{foreach from=$dlv_all_fields item=field_name}
|
||||
{if $field_name eq "company"}
|
||||
<p class="text">
|
||||
<label for="company">{l s='Company'}</label>
|
||||
<input type="text" class="text" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{/if}" />
|
||||
</p>
|
||||
{elseif $field_name eq "vat_number"}
|
||||
<div id="vat_number" style="display:none;">
|
||||
</p>
|
||||
<p class="select">
|
||||
<span>{l s='Date of Birth'}</span>
|
||||
<select id="days" name="days">
|
||||
<option value="">-</option>
|
||||
{foreach from=$days item=day}
|
||||
<option value="{$day|escape:'htmlall':'UTF-8'}" {if ($sl_day == $day)} selected="selected"{/if}>{$day|escape:'htmlall':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{*
|
||||
{l s='January'}
|
||||
{l s='February'}
|
||||
{l s='March'}
|
||||
{l s='April'}
|
||||
{l s='May'}
|
||||
{l s='June'}
|
||||
{l s='July'}
|
||||
{l s='August'}
|
||||
{l s='September'}
|
||||
{l s='October'}
|
||||
{l s='November'}
|
||||
{l s='December'}
|
||||
*}
|
||||
<select id="months" name="months">
|
||||
<option value="">-</option>
|
||||
{foreach from=$months key=k item=month}
|
||||
<option value="{$k|escape:'htmlall':'UTF-8'}" {if ($sl_month == $k)} selected="selected"{/if}>{l s="$month"} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<select id="years" name="years">
|
||||
<option value="">-</option>
|
||||
{foreach from=$years item=year}
|
||||
<option value="{$year|escape:'htmlall':'UTF-8'}" {if ($sl_year == $year)} selected="selected"{/if}>{$year|escape:'htmlall':'UTF-8'} </option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
{if isset($newsletter) && $newsletter}
|
||||
<p class="checkbox" >
|
||||
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} />
|
||||
<label for="newsletter">{l s='Sign up for our newsletter'}</label>
|
||||
</p>
|
||||
<p class="checkbox" >
|
||||
<input type="checkbox"name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} />
|
||||
<label for="optin">{l s='Receive special offers from our partners'}</label>
|
||||
</p>
|
||||
{/if}
|
||||
</fieldset>
|
||||
{if isset($PS_REGISTRATION_PROCESS_TYPE) && $PS_REGISTRATION_PROCESS_TYPE}
|
||||
<fieldset class="account_creation">
|
||||
<h3>{l s='Your address'}</h3>
|
||||
{foreach from=$dlv_all_fields item=field_name}
|
||||
{if $field_name eq "company"}
|
||||
<p class="text">
|
||||
<label for="vat_number">{l s='VAT number'}</label>
|
||||
<input type="text" class="text" name="vat_number" value="{if isset($smarty.post.vat_number)}{$smarty.post.vat_number}{/if}" />
|
||||
<label for="company">{l s='Company'}</label>
|
||||
<input type="text" class="text" id="company" name="company" value="{if isset($smarty.post.company)}{$smarty.post.company}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
{elseif $field_name eq "firstname"}
|
||||
<p class="required text">
|
||||
<label for="firstname">{l s='First name'}</label>
|
||||
<input type="text" class="text" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "lastname"}
|
||||
<p class="required text">
|
||||
<label for="lastname">{l s='Last name'}</label>
|
||||
<input type="text" class="text" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "address1"}
|
||||
<p class="required text">
|
||||
<label for="address1">{l s='Address'}</label>
|
||||
<input type="text" class="text" name="address1" id="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{/if}" />
|
||||
<sup>*</sup>
|
||||
<span class="inline-infos">{l s='Street address, P.O. box, company name, c/o'}</span>
|
||||
</p>
|
||||
{elseif $field_name eq "address2"}
|
||||
<p class="text">
|
||||
<label for="address2">{l s='Address (Line 2)'}</label>
|
||||
<input type="text" class="text" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{/if}" />
|
||||
<span class="inline-infos">{l s='Apartment, suite, unit, building, floor, etc.'}</span>
|
||||
</p>
|
||||
{elseif $field_name eq "postcode"}
|
||||
<p class="required postcode text">
|
||||
<label for="postcode">{l s='Zip / Postal Code'}</label>
|
||||
<input type="text" class="text" name="postcode" id="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "city"}
|
||||
<p class="required text">
|
||||
<label for="city">{l s='City'}</label>
|
||||
<input type="text" class="text" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
<!--
|
||||
if customer hasn't update his layout address, country has to be verified
|
||||
but it's deprecated
|
||||
-->
|
||||
{elseif $field_name eq "Country:name" || $field_name eq "country"}
|
||||
<p class="required select">
|
||||
<label for="id_country">{l s='Country'}</label>
|
||||
<select name="id_country" id="id_country">
|
||||
<option value="">-</option>
|
||||
{foreach from=$countries item=v}
|
||||
<option value="{$v.id_country}" {if ($sl_country == $v.id_country)} selected="selected"{/if}>{$v.name|escape:'htmlall':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "State:name" || $field_name eq 'state'}
|
||||
{assign var='stateExist' value=true}
|
||||
{elseif $field_name eq "vat_number"}
|
||||
<div id="vat_number" style="display:none;">
|
||||
<p class="text">
|
||||
<label for="vat_number">{l s='VAT number'}</label>
|
||||
<input type="text" class="text" name="vat_number" value="{if isset($smarty.post.vat_number)}{$smarty.post.vat_number}{/if}" />
|
||||
</p>
|
||||
</div>
|
||||
{elseif $field_name eq "firstname"}
|
||||
<p class="required text">
|
||||
<label for="firstname">{l s='First name'}</label>
|
||||
<input type="text" class="text" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "lastname"}
|
||||
<p class="required text">
|
||||
<label for="lastname">{l s='Last name'}</label>
|
||||
<input type="text" class="text" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "address1"}
|
||||
<p class="required text">
|
||||
<label for="address1">{l s='Address'}</label>
|
||||
<input type="text" class="text" name="address1" id="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{/if}" />
|
||||
<sup>*</sup>
|
||||
<span class="inline-infos">{l s='Street address, P.O. box, company name, c/o'}</span>
|
||||
</p>
|
||||
{elseif $field_name eq "address2"}
|
||||
<p class="text">
|
||||
<label for="address2">{l s='Address (Line 2)'}</label>
|
||||
<input type="text" class="text" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{/if}" />
|
||||
<span class="inline-infos">{l s='Apartment, suite, unit, building, floor, etc.'}</span>
|
||||
</p>
|
||||
{elseif $field_name eq "postcode"}
|
||||
<p class="required postcode text">
|
||||
<label for="postcode">{l s='Zip / Postal Code'}</label>
|
||||
<input type="text" class="text" name="postcode" id="postcode" value="{if isset($smarty.post.postcode)}{$smarty.post.postcode}{/if}" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "city"}
|
||||
<p class="required text">
|
||||
<label for="city">{l s='City'}</label>
|
||||
<input type="text" class="text" name="city" id="city" value="{if isset($smarty.post.city)}{$smarty.post.city}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
<!--
|
||||
if customer hasn't update his layout address, country has to be verified
|
||||
but it's deprecated
|
||||
-->
|
||||
{elseif $field_name eq "Country:name" || $field_name eq "country"}
|
||||
<p class="required select">
|
||||
<label for="id_country">{l s='Country'}</label>
|
||||
<select name="id_country" id="id_country">
|
||||
<option value="">-</option>
|
||||
{foreach from=$countries item=v}
|
||||
<option value="{$v.id_country}" {if ($sl_country == $v.id_country)} selected="selected"{/if}>{$v.name|escape:'htmlall':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{elseif $field_name eq "State:name" || $field_name eq 'state'}
|
||||
{assign var='stateExist' value=true}
|
||||
<p class="required id_state select">
|
||||
<label for="id_state">{l s='State'}</label>
|
||||
<select name="id_state" id="id_state">
|
||||
<option value="">-</option>
|
||||
</select>
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if $stateExist eq false}
|
||||
<p class="required id_state select">
|
||||
<label for="id_state">{l s='State'}</label>
|
||||
<select name="id_state" id="id_state">
|
||||
@@ -458,53 +477,44 @@ $(function(){ldelim}
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{if $stateExist eq false}
|
||||
<p class="required id_state select">
|
||||
<label for="id_state">{l s='State'}</label>
|
||||
<select name="id_state" id="id_state">
|
||||
<option value="">-</option>
|
||||
</select>
|
||||
<p class="textarea">
|
||||
<label for="other">{l s='Additional information'}</label>
|
||||
<textarea name="other" id="other" cols="26" rows="3">{if isset($smarty.post.other)}{$smarty.post.other}{/if}</textarea>
|
||||
</p>
|
||||
<p style="margin-left:50px;">{l s='You must register at least one phone number'} <sup style="color:red;">*</sup></p>
|
||||
<p class="text">
|
||||
<label for="phone">{l s='Home phone'}</label>
|
||||
<input type="text" class="text" name="phone" id="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{/if}" />
|
||||
</p>
|
||||
<p class="text">
|
||||
<label for="phone_mobile">{l s='Mobile phone'}</label>
|
||||
<input type="text" class="text" name="phone_mobile" id="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{/if}" />
|
||||
</p>
|
||||
<p class="required text" id="address_alias">
|
||||
<label for="alias">{l s='Assign an address title for future reference'} </label>
|
||||
<input type="text" class="text" name="alias" id="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{else}{l s='My address'}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
</fieldset>
|
||||
<fieldset class="account_creation dni">
|
||||
<h3>{l s='Tax identification'}</h3>
|
||||
|
||||
<p class="required text">
|
||||
<label for="dni">{l s='Identification number'}</label>
|
||||
<input type="text" class="text" name="dni" id="dni" value="{if isset($smarty.post.dni)}{$smarty.post.dni}{/if}" />
|
||||
<span class="form_info">{l s='DNI / NIF / NIE'}</span>
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
</fieldset>
|
||||
{/if}
|
||||
<p class="textarea">
|
||||
<label for="other">{l s='Additional information'}</label>
|
||||
<textarea name="other" id="other" cols="26" rows="3">{if isset($smarty.post.other)}{$smarty.post.other}{/if}</textarea>
|
||||
{$HOOK_CREATE_ACCOUNT_FORM}
|
||||
<p class="cart_navigation required submit">
|
||||
<input type="hidden" name="email_create" value="1" />
|
||||
<input type="hidden" name="is_new_customer" value="1" />
|
||||
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
|
||||
<input type="submit" name="submitAccount" id="submitAccount" value="{l s='Register'}" class="exclusive" />
|
||||
<span><sup>*</sup>{l s='Required field'}</span>
|
||||
</p>
|
||||
<p style="margin-left:50px;">{l s='You must register at least one phone number'} <sup style="color:red;">*</sup></p>
|
||||
<p class="text">
|
||||
<label for="phone">{l s='Home phone'}</label>
|
||||
<input type="text" class="text" name="phone" id="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{/if}" />
|
||||
</p>
|
||||
<p class="text">
|
||||
<label for="phone_mobile">{l s='Mobile phone'}</label>
|
||||
<input type="text" class="text" name="phone_mobile" id="phone_mobile" value="{if isset($smarty.post.phone_mobile)}{$smarty.post.phone_mobile}{/if}" />
|
||||
</p>
|
||||
<p class="required text" id="address_alias">
|
||||
<label for="alias">{l s='Assign an address title for future reference'} </label>
|
||||
<input type="text" class="text" name="alias" id="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{else}{l s='My address'}{/if}" />
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
</fieldset>
|
||||
<fieldset class="account_creation dni">
|
||||
<h3>{l s='Tax identification'}</h3>
|
||||
|
||||
<p class="required text">
|
||||
<label for="dni">{l s='Identification number'}</label>
|
||||
<input type="text" class="text" name="dni" id="dni" value="{if isset($smarty.post.dni)}{$smarty.post.dni}{/if}" />
|
||||
<span class="form_info">{l s='DNI / NIF / NIE'}</span>
|
||||
<sup>*</sup>
|
||||
</p>
|
||||
</fieldset>
|
||||
{$HOOK_CREATE_ACCOUNT_FORM}
|
||||
<p class="cart_navigation required submit">
|
||||
<input type="hidden" name="email_create" value="1" />
|
||||
<input type="hidden" name="is_new_customer" value="1" />
|
||||
{if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if}
|
||||
<input type="submit" name="submitAccount" id="submitAccount" value="{l s='Register'}" class="exclusive" />
|
||||
<span><sup>*</sup>{l s='Required field'}</span>
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
</form>
|
||||
{/if}
|
||||
@@ -11,6 +11,7 @@ $_LANG['404_8cf04a9734132302f96da8e113e80ce5'] = 'Accueil';
|
||||
$_LANG['address_3908e1afa0ff22fbf112aff3c5ba55c1'] = 'Vos adresses';
|
||||
$_LANG['address_e9b6b3aa3cab28048d3879710882e1de'] = 'Modifier cette adresse';
|
||||
$_LANG['address_d7f172af352aa5232de5295afeaa68e5'] = 'Pour ajouter une nouvelle adresse, merci de remplir ce formulaire.';
|
||||
$_LANG['address_f5226f8494cf5f5b0f3f2257d47662c5'] = 'Votre compte est maintenant créé. Vous pouvez ajouter votre première adresse, ou surfer sur le site.';
|
||||
$_LANG['address_455175f3f5be6306247babb349c0515a'] = 'Votre adresse';
|
||||
$_LANG['address_393d8c6bc7a04264bd9523dc8c92b818'] = 'Nouvelle adresse';
|
||||
$_LANG['address_b60bb13a87fe3ae5463aeb0980a5a8a1'] = 'Numéro d\'identification fiscale :';
|
||||
@@ -89,6 +90,9 @@ $_LANG['authentication_b60bb13a87fe3ae5463aeb0980a5a8a1'] = 'Numéro d\'identifi
|
||||
$_LANG['authentication_ea318a4ad37f0c2d2c368e6c958ed551'] = 'DNI / NIF / NIE';
|
||||
$_LANG['authentication_19f823c6453c2b1ffd09cb715214813d'] = 'Champs requis';
|
||||
$_LANG['authentication_a0bfb8e59e6c13fc8d990781f77694fe'] = 'Continuer';
|
||||
$_LANG['authentication_6335a00a08fde0fbb8f6d6630cdadd92'] = 'Vos informations personnelles';
|
||||
$_LANG['authentication_1e884e3078d9978e216a027ecd57fb34'] = 'E-mail';
|
||||
$_LANG['authentication_bf2957630c4209f61a388a08c2154915'] = '(5 caractères min.)';
|
||||
$_LANG['authentication_455175f3f5be6306247babb349c0515a'] = 'Votre adresse';
|
||||
$_LANG['authentication_ae47812e00631626815f5f75ad1abbbd'] = 'Rue, adresse de boite postale, nom de compagnie, c / o';
|
||||
$_LANG['authentication_846a54955f32846032981f8fe48c35ff'] = 'Adresse (2)';
|
||||
@@ -99,9 +103,6 @@ $_LANG['authentication_fe66abce284ec8589e7d791185b5c442'] = 'Téléphone domicil
|
||||
$_LANG['authentication_41c2fff4867cc204120f001e7af20f7a'] = 'Téléphone portable';
|
||||
$_LANG['authentication_6c1c4d5a22e3d6ed8385e7287233396f'] = 'Donnez un titre à cette adresse pour la retrouver plus facilement';
|
||||
$_LANG['authentication_0ba7583639a274c434bbe6ef797115a4'] = 'S\'inscrire';
|
||||
$_LANG['authentication_6335a00a08fde0fbb8f6d6630cdadd92'] = 'Vos informations personnelles';
|
||||
$_LANG['authentication_1e884e3078d9978e216a027ecd57fb34'] = 'E-mail';
|
||||
$_LANG['authentication_bf2957630c4209f61a388a08c2154915'] = '(5 caractères min.)';
|
||||
$_LANG['best-sales_3cb29f0ccc5fd220a97df89dafe46290'] = 'Meilleures ventes';
|
||||
$_LANG['best-sales_32af07c9205de16855c50c3d20a51698'] = 'Pas de meilleure vente pour le moment.';
|
||||
$_LANG['breadcrumb_157f518779095e8206908ff1268f10a7'] = 'retour à';
|
||||
@@ -550,7 +551,6 @@ $_LANG['product_07d814a3df5cfd2d637e77b215519034'] = 'Vous devez ajouter au mini
|
||||
$_LANG['product_f3bbad73b35f19730399b3da21c3ef32'] = ' quantités pour acheter ce produit.';
|
||||
$_LANG['product_8c751c4aab0db0b811cdfbddf0b4ea56'] = 'Disponibilité :';
|
||||
$_LANG['product_100f1a22cb79da8d72ce3379a4e834ed'] = 'Produit disponible le: ';
|
||||
$_LANG['product_0aaaa7c13d1b589640482d1e53135eb4'] = 'Réapprovisionnement le:';
|
||||
$_LANG['product_4b98be16b76b0941840140f2043432a9'] = 'pièce disponible';
|
||||
$_LANG['product_e16d56df08bbd47e53e153fc6dfc8ad8'] = 'pièces disponibles';
|
||||
$_LANG['product_0d83f0026f6d2923b2aa3a208156918c'] = 'Attention : dernières pièces disponibles !';
|
||||
|
||||
@@ -141,8 +141,8 @@
|
||||
<p class="radio required">
|
||||
<span>{l s='Title'}</span>
|
||||
{foreach from=$genders key=k item=gender}
|
||||
<input type="radio" name="id_gender" id="id_gender{$gender.id_gender}" value="{$gender.id_gender}" {if isset($smarty.post.id_gender) && $smarty.post.id_gender == $gender.id_gender}checked="checked"{/if} />
|
||||
<label for="id_gender{$gender.id_gender}" class="top">{$gender.name}</label>
|
||||
<input type="radio" name="id_gender" id="id_gender{$gender->id_gender}" value="{$gender->id_gender}" {if isset($smarty.post.id_gender) && $smarty.post.id_gender == $gender->id_gender}checked="checked"{/if} />
|
||||
<label for="id_gender{$gender->id_gender}" class="top">{$gender->name}</label>
|
||||
{/foreach}
|
||||
</p>
|
||||
<p class="required text">
|
||||
|
||||
Reference in new issue
Block a user