Skip to content

Commit

Permalink
Merge pull request #45 from balejk/form_field_block
Browse files Browse the repository at this point in the history
restore `form_field` block
  • Loading branch information
NeOMakinG authored Sep 12, 2022
2 parents 9235da5 + 1df1118 commit d60a6a7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions templates/customer/_partials/customer-form.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@
<div>
{block "form_fields"}
{foreach from=$formFields item="field"}
{if $field.type === "password"}
<div class="field-password-policy">
{block "form_field"}
{if $field.type === "password"}
<div class="field-password-policy">
{form_field field=$field}
</div>
{else}
{form_field field=$field}
</div>
{else}
{form_field field=$field}
{/if}
{/if}
{/block}
{/foreach}
{$hook_create_account_form nofilter}
{/block}
Expand Down

0 comments on commit d60a6a7

Please sign in to comment.