{$msg.account.edit_payment_profiles}
{include file="templates/layouts/zones/includes/flash-messages.html"}
{if !empty($paymentProfiles)}
{assign var="paymentProfileNumber" value="0"}
{foreach name=prof from=$paymentProfiles key=key item="paymentProfile"}
{math equation="x + y" x=$paymentProfileNumber y=1 assign="paymentProfileNumber"}
{include file="templates/pages/account/elements/element-payment-profile-view.html"}
{/foreach}
{else}
{$msg.account.no_payment_profiles_yet}
{/if}
{if $paymentMethodId}
{$msg.account.enter_payment_profile}
{else}
- {$msg.account.payment_profile_no_methods}
{/if}