Skip to content

Commit

Permalink
fixed issue #84
Browse files Browse the repository at this point in the history
  • Loading branch information
Blur-Creative committed Apr 15, 2018
1 parent bb76b05 commit b92465d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

{* Country *}
{block name='frontend_register_billing_fieldset_input_country'}
<div class="register--country field--select">
<div class="register--country field--select select-field">
<select name="register[billing][country]"
data-address-type="billing"
id="country"
Expand Down Expand Up @@ -171,7 +171,7 @@
<div class="country-area-state-selection">
{foreach $country_list as $country}
{if $country.states}
<div data-country-id="{$country.id}" data-address-type="billing" class="register--state-selection field--select{if $country.id != $form_data.country} is--hidden{/if}">
<div data-country-id="{$country.id}" data-address-type="billing" class="register--state-selection field--select select-field{if $country.id != $form_data.country} is--hidden{/if}">
<select {if $country.id != $form_data.country}disabled="disabled"{/if} name="register[billing][country_state_{$country.id}]"{if $country.force_state_in_registration} required="required" aria-required="true"{/if} class="select--state {if $country.force_state_in_registration}is--required{/if}{if isset($error_flags.state)} has--error{/if}">
<option value="" selected="selected"{if $country.force_state_in_registration} disabled="disabled"{/if}>{s name='RegisterBillingLabelState'}{/s}{if $country.force_state_in_registration}{s name="RequiredField" namespace="frontend/register/index"}{/s}{/if}</option>
{assign var="stateID" value="country_state_`$country.id`"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@

{* Country and state fields *}
{block name='frontend_register_shipping_fieldset_input_country'}
<div class="register--shipping-country field--select">
<div class="register--shipping-country field--select select-field">
<select name="register[shipping][country]"
data-address-type="shipping"
id="country_shipping"
Expand Down Expand Up @@ -194,7 +194,7 @@
<div class="country-area-state-selection">
{foreach $country_list as $country}
{if $country.states}
<div data-country-id="{$country.id}" data-address-type="shipping" class="register--state-selection field--select{if $country.id != $form_data.country} is--hidden{/if}">
<div data-country-id="{$country.id}" data-address-type="shipping" class="register--state-selection field--select select-field{if $country.id != $form_data.country} is--hidden{/if}">
<select name="register[shipping][country_shipping_state_{$country.id}]"{if $country.force_state_in_registration} required="required" aria-required="true"{/if}{if $country.id != $form_data.country} disabled="disabled"{/if} class="select--state {if $country.force_state_in_registration}is--required{/if}{if isset($error_flags.stateID)} has--error{/if}">
<option value="" selected="selected"{if $country.force_state_in_registration} disabled="disabled"{/if}>{s name='RegisterShippingLabelState'}{/s}{if $country.force_state_in_registration}{s name="RequiredField" namespace="frontend/register/index"}{/s}{/if}</option>
{assign var="stateID" value="country_shipping_state_`$country.id`"}
Expand Down

0 comments on commit b92465d

Please sign in to comment.