Skip to content

Commit

Permalink
Merge pull request #2626 from roadster31/front-template-fix
Browse files Browse the repository at this point in the history
Front template improvements
  • Loading branch information
gillesbourgeat committed Feb 7, 2019
2 parents 46592f3 + c6043a9 commit 2bd64d1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/frontOffice/default/address-update.html
Expand Up @@ -199,7 +199,7 @@ <h1 id="main-label" class="page-header">{intl l="Address Update"}</h1>
<div class="control-input col-sm-5">
<select name="{$name}" id="{$label_attr.for}" class="form-control"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
<option value="">-- {intl l="Select Country"} --</option>
{loop type="country" name="country.list"}
{loop type="country" name="country.list" order="alpha"}
<option value="{$ID}" {if $customer_country_id == $ID}selected{/if}
{if $value != ""}
{if $value == $ID}selected{/if}
Expand Down
2 changes: 1 addition & 1 deletion templates/frontOffice/default/address.html
Expand Up @@ -197,7 +197,7 @@ <h1 id="main-label" class="page-header">{intl l="Create New Address"}</h1>
<div class="control-input col-sm-5">
<select name="{$name}" id="{$label_attr.for}" class="form-control"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
<option value="">-- {intl l="Select Country"} --</option>
{loop type="country" name="country.list"}
{loop type="country" name="country.list" order="alpha"}
<option value="{$ID}" {if $value == $ID}selected{/if} >{$TITLE}</option>
{/loop}
</select>
Expand Down
2 changes: 1 addition & 1 deletion templates/frontOffice/default/cart.html
Expand Up @@ -159,7 +159,7 @@ <h3>
<div>
<label for="cart-country">{intl l="Select your country:"}</label>
<select id="cart-country" name="country">
{loop type="country" name="countryLoop" with_area="true"}
{loop type="country" name="countryLoop" with_area="true" order="alpha"}
<option value="{$ID}" {if $ID == $country_id }selected="selected" {/if}>{$TITLE}</option>
{/loop}
</select>
Expand Down
2 changes: 1 addition & 1 deletion templates/frontOffice/default/register.html
Expand Up @@ -231,7 +231,7 @@ <h1 id="main-label" class="page-header">{intl l="Create New Account"}</h1>
<div class="control-input col-sm-5">
<select name="{$name}" id="{$label_attr.for}" class="form-control"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
<option value="">-- {intl l="Select Country"} --</option>
{loop type="country" name="country.list"}
{loop type="country" name="country.list" order="alpha"}
<option value="{$ID}"
{if $value != ""}
{if $value == $ID}selected{/if}
Expand Down

0 comments on commit 2bd64d1

Please sign in to comment.